mirror of
https://github.com/clang-retro/llvm.git
synced 2026-11-28 21:29:24 -08:00
Add an internal StreamTy wrapper for CUDA/HIP language streams in LLVMOffloadKernel. `cudaStream_t`/`hipStream_t` now point to runtime-owned StreamTy objects instead of raw ol_queue_handle_t values. StreamTy tracks the backing queue, owning device, and stream kind, which lets the runtime manage explicit streams and default streams through shared state. Assisted by GPT-5.5, checked and reviewed manually