You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nvidia-dev-1 | cudart.cudaStreamAddCallback(stream._stream, stream_over, None, 0)
nvidia-dev-1 | File "cuda/bindings/runtime.pyx", line 15344, in cuda.bindings.runtime.cudaStreamAddCallback
nvidia-dev-1 | File "cuda/bindings/runtime.pyx", line 4054, in cuda.bindings.runtime.cudaStreamCallback_t.__cinit__
nvidia-dev-1 | TypeError: an integer is required
In the documentation I found this class cudaStreamCallback_t,but I don't know how to use it correctly
Any help?
Activity
leofang commentedon Dec 17, 2024
Hi @wensimin this is how
cudaStreamAddCallback(deprecated) andcudaLaunchHostFuncare tested:cuda-python/cuda_bindings/tests/test_cudart.py
Lines 1293 to 1342 in eeda1ab