Shortcuts

Function c10::xpu::getCurrentXPUStream

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.

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