-
Notifications
You must be signed in to change notification settings - Fork 28
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
(close #1987) Replace Intrinsic Operators with IntrinsicCalls #2298
Conversation
…, e.g. is_pure, is_elemental, ...
…uce A-F remaining intrinsics
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #2298 +/- ##
==========================================
- Coverage 99.85% 99.84% -0.01%
==========================================
Files 342 342
Lines 46144 46069 -75
==========================================
- Hits 46075 45998 -77
- Misses 69 71 +2
☔ View full report in Codecov by Sentry. |
…other pycodestyle issues
The NEMO integration tests (ecmwf build) failed with:
Please could you take a look. |
The integration test issue comes from expanding the ranges into a loop for:
|
The issue with NEMO integration test is now fixed, I decided to filter the file and leave the fix to another PR because this one is already quite big and I noticed that the omp_gpu_trans had this file already filtered, so both scripts are now doing this same. |
@arporter This is ready for another review. I submitted an integration test job that came out green and I have fixed a couple of codecov issues to make the patch 100%. |
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.
Well done on fixing things and thanks for improving the code by adding the dangling Assignment node. I just have a couple of small queries about that and then this can be merged.
@arporter This is ready for another review. I have addressed one of the comments and just replied to the other, let me know if you disagree with the second. |
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 requested changes have been made.
Integration tests were all green (20 hrs ago).
Will proceed to merge.
…Operation => IntrinsicCall PR stfc#2298
This allows to delete lots of code (Nary Operations, named argument operations) and improve other code (use is_pure, is_elemental, is_inquiry) for intrinsics as if they are regular calls instead of having special cases.
This turned out to be a big PR so I stopped here, but I would like to follow up with:
#2102 Which may mean moving the intrinsic enum from IntrinsicCall to a new IntrinsicSymbol
#2302 To also list the mandatory intrinsic arguments. (which I could do it this PR if the reviewer is fine with a longer one)
Also closes: #1366, #537, #1161, #1837 and #414 ? and PR #2222