Skip to content

Commit 5dc2331

Browse files
committed
Undo change in cuda_bindings/cuda/bindings/driver.pyx.in, it is not needed for this PR
1 parent d6bf826 commit 5dc2331

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_bindings/cuda/bindings/driver.pyx.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22279,7 +22279,7 @@ def cuGetErrorName(error not None : CUresult):
2227922279
cdef cydriver.CUresult cyerror = error.value
2228022280
cdef const char* pStr = NULL
2228122281
err = cydriver.cuGetErrorName(cyerror, &pStr)
22282-
return (CUresult(err), <bytes>pStr if pStr != NULL else None)
22282+
return (CUresult(err), <bytes>pStr)
2228322283
{{endif}}
2228422284

2228522285
{{if 'cuInit' in found_functions}}

0 commit comments

Comments
 (0)