We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dd2630 commit dffc603Copy full SHA for dffc603
1 file changed
cuda_bindings/tests/test_cuda.py
@@ -970,6 +970,9 @@ def test_all_CUresult_codes(max_code=1000):
970
# (example: cuda-bindings built with CTK 12.8, driver from CTK 12.0)
971
assert name is None
972
assert err_name == cuda.CUresult.CUDA_ERROR_INVALID_VALUE
973
+ err_desc, desc = cuda.cuGetErrorString(error)
974
+ assert err_desc == cuda.CUresult.CUDA_ERROR_INVALID_VALUE
975
+ assert desc is None
976
# Super-simple smoke check: Do we have at least some "good" codes?
977
# The number will increase over time as new enums are added and support for
978
# old CTKs is dropped, but it is not critical that this number is updated.
0 commit comments