-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Towards #2271, closes #2278) Generalise reference_accesses() and use to tidy KernelModuleInlineTrans. #2825
base: master
Are you sure you want to change the base?
Conversation
I need to add explicit unit tests for the new |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2825 +/- ##
=======================================
Coverage 99.88% 99.88%
=======================================
Files 357 357
Lines 49742 49765 +23
=======================================
+ Hits 49686 49710 +24
+ Misses 56 55 -1 ☔ View full report in Codecov by Sentry. |
This PR enhances the functionality of Ready for review. One for @hiker or @sergisiso. |
(I've triggered the integration tests.) |
Taking this back as both the NEMOv4 and LFRic integration tests failed :-( |
LFRic ('with all transformations') test fails with:
and the NEMO v.4 OpenACC kernels test fails at the final link stage:
I think the latter often means we've put OpenACC around a function call but the function itself hasn't been marked-up for GPU compilation? |
In LFRic, we have an in-lined kernel that calls our PSyclone-generated routine but that routine hasn't been inlined:
Presumably, the symbol isn't being spotted by the transformation? |
I found I needed some of this in #2716 (while improving KernelModuleInlineTrans) so I thought I'd best do it as a separate PR.