-
Notifications
You must be signed in to change notification settings - Fork 33
#1312 ScalarArray code generation #3101
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3101 +/- ##
========================================
Coverage 99.95% 99.95%
========================================
Files 379 380 +1
Lines 53811 53913 +102
========================================
+ Hits 53789 53891 +102
Misses 22 22 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
This still isn't working as intended, but is getting closer to correct. As an example, the code gen is now adding the scalar arrays to the generated code, alongside the arrays containing their dimensions. However, it is not adding these dimensions to the generated code (e.g., no Furthermore, the stub_gen test is failing because we are currently adding the dimensions array to the psyir layer as an |
|
Thanks for your comments, I've addressed them and it is now passing CodeCov too. It's now ready for review again |
(For stfc/PSyclone#3101) Add GH_SCALAR_ARRAY to argument_mod
arporter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost! The modified test needs a bit more work.
I've taken the liberty of updating the lfric_apps hash in the workflow file and have fired off the integration tests.
|
Two of the integration tests failed but one seems to be #3297 and the other is because stfc/lfric_apps#1 hasn't been merged yet. i.e. neither failure is the fault of this PR. |
|
Hopefully all is good now! |
arporter
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good now, thanks Alistair :-)
I'll update the LFRic Apps hash again now that the fix for the change in location of OMPParallelTrans has gone on to that repo.
Updated LFRIC_APPS_HASH to a new commit hash to allow for new location of OMPParallelTrans.
|
Now that I've updated the LFRic Apps hash, I'm re-running the ITs for this PR...if they are all fine then this is good to go. |
|
ITs were all green. This is ready to go once the CI has completed. |
Adding code generation for ScalarArrays (towards #1312 ). The metadata support was added in #2173.