Remove the unused OMP_CLAUSE_DEVICE_RESIDENT
Cesar Philippidis
cesar@codesourcery.com
Tue May 31 22:35:00 GMT 2016
On 05/31/2016 08:45 AM, Thomas Schwinge wrote:
> While working on something else, I came across the following. Cesar, can
> you please verify that this is really dead code in the Fortran front end,
> which currently is the only producer of OMP_CLAUSE_DEVICE_RESIDENT?
You're correct. Declare should be using map clauses for device resident
and link. I think I ran into this last week when I backported Jakub's
recent gfc_match_omp_clauses changes to gomp4.
> Also, I noticed that the Fortran front end never creates OMP_CLAUSE_MAP
> with GOMP_MAP_LINK or GOMP_MAP_DEVICE_RESIDENT -- how is OpenACC declare
> working at all? Cesar, if this is not a simple question to answer,
> please file a GCC PR, for somebody to have a look later.
Declare might not be working in fortran, or at least not all of its
clauses. I'll add this on my todo list. Right now I working on a
subarray problem.
Cesar
More information about the Fortran
mailing list