Function c10::xpu::getStreamFromPool(const int, DeviceIndex)¶
Defined in File XPUStream.h
Function Documentation¶
-
XPUStream c10::xpu::getStreamFromPool(const int priority, DeviceIndex device = -1)¶
Get a stream from the pool in a round-robin fashion.
You can request a stream by setting a priority value for a specific device. The priority number lower, the priority higher.