[OpenACC 3/11] new target hook

Nathan Sidwell nathan@acm.org
Wed Oct 21 19:16:00 GMT 2015


This patch implements a new OpenACC target hook.  It is used during 
device-specific lowering and allows a backend to indicate whether it needs to 
know about a fork/join for a particular axis.

For instance, in PTX we don't care about gang-level fork and join.  We also 
don't care if the size of that dimension is 1.

The default implementation of the hook never only cares if the oacc_fork and 
oacc_join RTL  expanders exist (and they don't on the host compiler).

nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-trunk-hook.patch
Type: text/x-patch
Size: 5540 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151021/c1892e86/attachment.bin>


More information about the Gcc-patches mailing list