Function c10::xpu::getCurrentXPUStream¶
Defined in File XPUStream.h
Function Documentation¶
-
XPUStream c10::xpu::getCurrentXPUStream(DeviceIndex device = -1)¶
Get the current XPU stream, for the passed XPU device, or for the current device if no device index is passed.