Reputation: 749
I am putting openACC directives to enhance an existing serial code. I was wondering if there are any compiler flags that would envoke warning generation for the loops for which the compiler has ignored their parallelization, rather than reading the entire aceleration report Thanks
Upvotes: 0
Views: 60
Reputation: 5646
Assuming you're using PGI, no, sorry. -Minfo=accel will only give you a full, and yes verbose, report on everything the compiler is doing w.r.t. the OpenACC directives. I can put in a request for enhancement (RFE) if you think it would help.
My only concern is that the messages about dependencies may be misunderstood if taken out of context. For example if an outer loop is successfully offloaded to the GPU but the compiler finds a dependency when auto-parallelizing an inner loop. Without the full output, it might appear that there's more of a problem than there is.
Upvotes: 1