Refactor cuda::launch to use CUkernel on CUDA 13+
Open
- Dominant language
- C++
- Stars
- 2.5k
- Forks
- 487
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 296
Description
Starting with CUDA 13 driver does not require the current device to match the stream's device. We should be able to remove the `__ensure_current_context` in launch for CUDA 13+, but we currently use `CUfunction` internally, which is device specific. We should be able to refactor the code to use CUkernel for CUDA 13+ compilation and avoid setting the current context.
This won't make it to 3.2, filing an issue to look into it for 3.3
Contributor guide
Assessment
This issue has not been assessed yet.