On 02/10/2016 12:49 PM, Thomas Schwinge wrote:
Hi!
Ping.
I think this has to be considered after gcc-6. In general, what's the
state of OpenACC these days?
I'm slightly confused by the interface between offloaded code and
libgomp. It looks like you're collecting avoid-offloading flags
per-function, but then when things get registered, it seems like a
per-image flag. Is that right? It seems like too large a hammer.
+ bool avoid_offloading_p = true;
+ for (unsigned ix = 0; ix != GOMP_DIM_MAX; ix++)
+ {
+ if (dims[ix] > 1)
+ {
+ avoid_offloading_p = false;
+ break;
+ }
+ }
Avoid unnecessary braces.
+ executable directqives be used, or runtime library calls be
Typo.
Bernd