-
Notifications
You must be signed in to change notification settings - Fork 924
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
Rename CUDA_TRY macro to CUDF_CUDA_TRY, rename CHECK_CUDA macro to CUDF_CHECK_CUDA. #10589
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-22.06 #10589 +/- ##
================================================
+ Coverage 86.29% 86.31% +0.02%
================================================
Files 140 140
Lines 22255 22255
================================================
+ Hits 19205 19210 +5
+ Misses 3050 3045 -5
Continue to review full report at Codecov.
|
|
||
CHECK_CUDA(stream.value()); | ||
CUDF_CHECK_CUDA(stream.value()); |
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.
This one seems unnecessary. The CHECK_CUDA
does a cudaStreamSynchronize
on the stream.
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.
I agree with your assessment, good catch.
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.
The
CHECK_CUDA
does acudaStreamSynchronize
on the stream.
Only in debug mode.
Co-authored-by: David Wendt <45795991+davidwendt@users.noreply.github.com>
@gpucibot merge |
Following rapidsai/cudf#10589, this PR removes the dependency to `cudf::CUDA_TRY` and introduces `CUSPATIAL_CUDA_TRY`. Contributes to #474 Authors: - Michael Wang (https://github.com/isVoid) Approvers: - Mark Harris (https://github.com/harrism) - H. Thomson Comer (https://github.com/thomcom) URL: #516
…ro to CUDF_CHECK_CUDA. (rapidsai#10589)" This reverts commit e8d189c.
This PR renames the
CUDA_TRY
macro toCUDF_CUDA_TRY
to avoid name conflicts with other libraries. Resolves #9660.Similarly,
CHECK_CUDA
has been renamed toCUDF_CHECK_CUDA
.