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

sum-instrinsic to code transformation #1711

Closed rupertford closed 1 year ago

rupertford commented 2 years ago

OpenACC kernel regions do not work well with the sum intrinsic when it has a 'dimension' named argument. Changing this intrinsic to equivalent code improves the performance of NEMO in manual tests. Now that named arguments are supporting in the PSyIR we can create a new sum2code transformation that allows us to do this in PSyclone.

rupertford commented 2 years ago

Created branch 1711_sum2codetrans

rupertford commented 1 year ago

PR #1768 was merged back in Sep 22. Closing this issue.