PR libgomp/65742
commit071f2c66c5e151bd1d24d3087589478c730f9fd1
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 May 2015 09:29:19 +0000 (28 09:29 +0000)
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 28 May 2015 09:29:19 +0000 (28 09:29 +0000)
tree2bd3ae354d8dfe258860472c06b79b535af2b30b
parent2ced3742ed66b8b5d5fa8ed995058423d9f97695
PR libgomp/65742

    gcc/
    * builtins.c (expand_builtin_acc_on_device): Don't use open-coded
    sequence for !ACCEL_COMPILER.

    libgomp/
    * oacc-init.c (plugin/plugin-host.h): Include.
    (acc_on_device): Check whether we're in an offloaded region for
    host_nonshm
    plugin. Don't use __builtin_acc_on_device.
    * plugin/plugin-host.c (GOMP_OFFLOAD_openacc_parallel): Set
    nonshm_exec flag in thread-local data.
    (GOMP_OFFLOAD_openacc_create_thread_data): Allocate thread-local
    data for host_nonshm plugin.
    (GOMP_OFFLOAD_openacc_destroy_thread_data): Free thread-local data
    for host_nonshm plugin.
    * plugin/plugin-host.h: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223801 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.c
libgomp/ChangeLog
libgomp/oacc-init.c
libgomp/plugin/plugin-host.c
libgomp/plugin/plugin-host.h [new file with mode: 0644]