API symbolscuda
Copy
tensorplay.cuda.current_stream
- tensorplay.cuda.current_stream(device: Any | None = None) Stream[source]
Return the currently selected
Streamfor a given device.- Parameters:
device (tensorplay.Device or int, optional) – selected device. Returns the currently selected
Streamfor the current device, given bycurrent_device(), ifdeviceisNone(default).
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?
