stfc / PSyclone

Domain-specific compiler and code transformation system for Finite Difference/Volume/Element Earth-system models in Fortran
BSD 3-Clause "New" or "Revised" License
104 stars 27 forks source link

(Closes #1664) Add ACCWaitDirective and async keyword on kernels, enter data, parallel #2664

Open arporter opened 2 months ago

arporter commented 2 months ago

This is a replacement/takeover of #2070 as Sebastien has moved to a new job.

arporter commented 2 months ago

Now that I look at this again, there don't seem to be any tests of the new directive and keyword for the Fortran psyir backend (it's all gen_code in LFRic).

arporter commented 2 months ago

I see from https://github.com/stfc/PSyclone/pull/2070#discussion_r1319986879 that this PR was started before we had ACCClause (#2157). However, we do now have clauses and therefore this code needs updating (to remove the use of Signature) and tests for the Fortran backend are required.