Shortcuts

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

Function Documentation

XPUStream c10::xpu::getStreamFromPool(const bool isHighPriority = false, DeviceIndex device = -1)

Get a stream from the pool in a round-robin fashion.

You can request a stream from the highest priority pool by setting isHighPriority to true for a specific device.

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