Skip to content

Commit f9fc215

Browse files
committed
cuda.core: also drop inline from _check_nvrtc_error
Missed in 0c8177c: _check_nvrtc_error is declared in cuda_utils.pxd without `inline` but implemented as `cpdef inline` in cuda_utils.pyx, so cython-lint v0.22.0 flags it for the same reason as the two functions fixed in the prior commit. Signed-off-by: Ralf Juengling <[email protected]>
1 parent 0c8177c commit f9fc215

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cuda_core/cuda/core/_utils/cuda_utils.pyx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ cpdef int _check_runtime_error(error) except?-1:
213213
raise CUDAError(f"{name}: {desc}")
214214

215215

216-
cpdef inline int _check_nvrtc_error(error, handle=None) except?-1:
216+
cpdef int _check_nvrtc_error(error, handle=None) except?-1:
217217
if error == _NVRTC_SUCCESS:
218218
return 0
219219
err = f"{error}: {nvrtc.nvrtcGetErrorString(error)[1].decode()}"

0 commit comments

Comments
 (0)