Shortcuts

Function c10::xpu::getStreamFromPool(const int, DeviceIndex)

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.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources