← Back to events
ActiveAIRelease13.4

trunk/5ba7f2bf58f6177091cdf890429ffd5f5dc2139a: [CUDA] Add fork/join execution on CUDA streams (#199128)

Photo: PyTorch Releases

What happened

Authored with an AI assistant. Add torch.cuda.execute_on_streams for fork/join execution with ordinary streams, green-context streams, or mixtures. Queued work is joined and caller state restored even when a callback raises. Same-device execution switches directly between streams and restores the caller once to reduce host-side overheads. Cross-device execution uses stream context managers to restore device and stre…

Summary assembled by rule from the sources below

Why it's spreading

Sources