This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r226484 - in /branches/gomp-4_0-branch: gcc/Cha...
- From: nathan at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 03 Aug 2015 01:21:45 -0000
- Subject: r226484 - in /branches/gomp-4_0-branch: gcc/Cha...
Author: nathan
Date: Mon Aug 3 01:21:45 2015
New Revision: 226484
URL: https://gcc.gnu.org/viewcvs?rev=226484&root=gcc&view=rev
Log:
gcc/
* omp-low.c (oacc_xform_on_device): New function.
(execute_oacc_transform): Use get_oacc_fn_attrib. Call
oacc_xform_on_device.
* builtins.c (expand_builtin_on_device): Only expect to be
expanded on host compiler.
libgcc/
* config/nvptx/comp-acc_on_device.c: Include gomp-constants.h.
(acc_on_device): Code directly here.
libgomp/
* openacc.h (acc_on_device): Take int and explain why.
* oacc-init.c (acc_on_device): Likewise.
Modified:
branches/gomp-4_0-branch/gcc/ChangeLog.gomp
branches/gomp-4_0-branch/gcc/builtins.c
branches/gomp-4_0-branch/gcc/omp-low.c
branches/gomp-4_0-branch/libgcc/ChangeLog.gomp
branches/gomp-4_0-branch/libgcc/config/nvptx/gomp-acc_on_device.c
branches/gomp-4_0-branch/libgomp/ChangeLog.gomp
branches/gomp-4_0-branch/libgomp/oacc-init.c
branches/gomp-4_0-branch/libgomp/openacc.h