[OpenACC 3/11] new target hook
Nathan Sidwell
nathan@acm.org
Tue Oct 27 22:15:00 GMT 2015
On 10/22/15 01:15, Jakub Jelinek wrote:
> On Wed, Oct 21, 2015 at 03:13:26PM -0400, Nathan Sidwell wrote:
>> 2015-10-20 Nathan Sidwell <nathan@codesourcery.com>
>>
>> * target.def (fork_join): New GOACC hook.
>> * targhooks.h (default_goacc_fork_join): Declare.
>> * omp-low.c (default_goacc_forkjoin): New.
>> * doc/tm.texi.in (TARGET_GOACC_FORK_JOIN): Add.
>> * doc/tm.texi: Regenerate.
>> * config/nvptx/nvptx.c (nvptx_xform_fork_join): New.
>> (TARGET_GOACC_FOR_JOIN): Override.
this is what I've committed. Other than nits, the changes are
1) use targetm.have_... rather than #ifdef HAVE_...
2) don't include the nvptx hunk. I'll apply that with the nvptx bits to turn
all this stuff on.
nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 03-trunk-hook-1027.patch
Type: text/x-patch
Size: 5027 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151027/8d09ff10/attachment.bin>
More information about the Gcc-patches
mailing list