This is not possible in Mojo today. I have created a proposal to add this feature here: Proposal: Allow importing CUDA/HIP stream handles in DeviceContext.
bwibking
(Ben Wibking)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Proposal: Allow importing CUDA/HIP stream handles in DeviceContext | 3 | 134 | April 11, 2026 | |
| Async Streaming from Device to Host | 0 | 86 | July 2, 2025 | |
| Launch_bounds support for GPU code | 4 | 162 | February 18, 2026 | |
| CDNA2 / MI250X support? | 2 | 97 | March 8, 2026 | |
| Idiomatic double buffering in a Mojo matmul inner loop? (sm_86, 80-92% of hand-written CUDA) | 0 | 62 | August 25, 2026 |