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
Use CUDAStream instead of cudaStream_t in kernel_launcher (#4071)
Summary:
Pull Request resolved: #4071
Use CUDAStream that provides ID and device_idx without use of special APIs.
at::cuda::getCurrentCUDAStream() at callsites returns CUDAStream that is then implicitly converted in cudaStream_t, but there's no reason to do that.
Reviewed By: ngimel
Differential Revision: D74051709
fbshipit-source-id: 52ce540d1e86e019aa369e9b8910bd71f4316c51
0 commit comments