Shortcuts

File CUDAGuard.h

Parent directory (c10/cuda)

Definition (c10/cuda/CUDAGuard.h)

Includes

  • c10/core/DeviceType.h (File DeviceType.h)

  • c10/core/impl/InlineDeviceGuard.h

  • c10/core/impl/InlineStreamGuard.h

  • c10/cuda/CUDAMacros.h

  • c10/cuda/impl/CUDAGuardImpl.h

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