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 28 forks source link

Bug in OpenACC update with structure references #2176

Open sergisiso opened 1 year ago

sergisiso commented 1 year ago

The OpenACC update directive does not include the whole structure for structure references:

e.g. it generates: acc data update (mycomponent) instead of acc data update (mystruct%mycomponent)

arporter commented 1 year ago

It looks as though this isn't a problem on HEAD of master but I'll wait on Victoria (MO) to confim.