-
Notifications
You must be signed in to change notification settings - Fork 915
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
[REVIEW] Refactor nvtx
annotations in cudf
& dask-cudf
#10396
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-22.04 #10396 +/- ##
================================================
+ Coverage 86.12% 86.16% +0.03%
================================================
Files 139 139
Lines 22450 22462 +12
================================================
+ Hits 19336 19354 +18
+ Misses 3114 3108 -6
Continue to review full report at Codecov.
|
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.
Really nice to centralize this! I like the implementation. I have one comment below.
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.
One question, otherwise LGTM. Is there an issue to link this to, or is this PR just a response to the last request I made on your previous PR? Just want to make sure we prune issues if needed.
@@ -31,6 +34,7 @@ | |||
"__ge__", | |||
} | |||
|
|||
_NVTX_COLORS = ["green", "blue", "purple", "rapids"] |
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.
What color is "rapids"? Is it not very similar to purple?
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.
Yeah, those both aren't similar:
https://github.com/NVIDIA/NVTX/blob/eb0d6301e833fa3631d774272f09741582d29e94/python/nvtx/colors.py#L14-L15
This was the one: #10374 (review) |
Cool I was just verifying that there wasn't an issue that we needed to close. |
@gpucibot merge |
This PR consolidates all
nvtx.annotate
calls using common decoratorscudf_nvtx_annotate
&dask_cudf_nvtx_annotate
that makes it easier to maintain and annotate APIs.