-
Notifications
You must be signed in to change notification settings - Fork 12
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
ECPhys: Add a "kernel-only" option to remove calls #111
Conversation
Documentation for this branch can be viewed at https://sites.ecmwf.int/docs/loki/111/index.html |
5559e11
to
d0b6b7b
Compare
Codecov Report
@@ Coverage Diff @@
## main #111 +/- ##
=======================================
Coverage 92.14% 92.15%
=======================================
Files 89 89
Lines 16484 16486 +2
=======================================
+ Hits 15190 15192 +2
Misses 1294 1294
Flags with carried forward coverage won't be shown. Click here to find out more.
|
This avoids the removal of DrHook calls in the driver layer, which we actually want for benchmarking.
d0b6b7b
to
741007e
Compare
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.
Valuable addition and cleanly implemented. GTG
@@ -104,15 +104,22 @@ class RemoveCallsTransformation(Transformation): | |||
Option to extend searches to :any:`Intrinsic` nodes to | |||
capture print/write statements |
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.
Maybe worth adding here in the parameters list in the docstring.
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.
Nothing to add, very useful addition, GTG!
This avoids the removal of DrHook calls in the driver layer, which we actually want for benchmarking.