XPUEvent.h 330 B

12345678
  1. #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
  2. #pragma once
  3. #include <ATen/xpu/XPUContext.h>
  4. #include <c10/xpu/XPUEvent.h>
  5. #else
  6. #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
  7. #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)