[gomp4] acc self/host/device clauses
Cesar Philippidis
cesar@codesourcery.com
Mon Oct 20 20:46:00 GMT 2014
This patch updates how the OpenACC device, self and host clauses are
handled in gfortan. Specifically these clauses now map to
OMP_MAP_FORCE_TO (host) and OMP_MAP_FORCE_FROM (device and self) in a
similar fashion to the c/c++ front ends.
I've also included a minor cleanup to
gfc_trans_oacc_executable_directive. That function no longer gets called
to process the wait directive, so I made that function aware of that.
The wait patch still has not been checked in yet because it depends on
some middle end support which hasn't gone into gomp-4_0-branch yet.
Therefore, I'll hold of committing this patch until the wait patch goes in.
It this OK for gomp-4_0-branch?
Thanks,
Cesar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fortran-self-host.diff
Type: text/x-patch
Size: 5336 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20141020/8134a96f/attachment.bin>
More information about the Fortran
mailing list