-
Notifications
You must be signed in to change notification settings - Fork 901
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
Fix release assert #6696
Fix release assert #6696
Conversation
Please update the changelog in order to start CI tests. View the gpuCI docs here. |
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 this time I thought, it's supposed to be no-op!
Great catch.
Codecov Report
@@ Coverage Diff @@
## branch-0.17 #6696 +/- ##
===============================================
+ Coverage 82.18% 82.32% +0.14%
===============================================
Files 94 94
Lines 15468 15585 +117
===============================================
+ Hits 12712 12830 +118
+ Misses 2756 2755 -1
Continue to review full report at Codecov.
|
Strangely I have undefined indentifier error with |
rerun tests |
The
release_assert
macro is used in device code to signal that an error occurred and kill the kernel.There were two issues with
release_assert
:__CUDACC_ARCH__
.release_assert
has just been a no-op this whole time.__assertfail
built-in instead of the__assert_fail
built-in.ifdef
.This should have been caught by tests, but it seems that the test that used to verify this behavior was dropped. Likely sometime in the libcudf++ transition.
cudf/cpp/tests/types/dispatcher_test.cu
Lines 127 to 147 in 3e14fb5
This PR corrects the
release_assert
and adds tests that it works as expected.