Is this a duplicate?
Area
cuda.core
Is your feature request related to a problem? Please describe.
Currently I am using stream = Stream.from_handle(0) for retrieving the legacy default stream in CUDA python samples.
Describe the solution you'd like
The Stream class already has _legacy_default() and _per_thread_default() class methods. It'd be better that they are made public to provide a clean, documented way to access default streams, similar to the existing Stream.from_handle() pattern.
Describe alternatives you've considered
No response
Additional context
No response