ATenCUDAGeneral.h 444 B

1234567891011121314
  1. #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
  2. #pragma once
  3. #include <cuda.h>
  4. #include <cuda_runtime.h>
  5. #include <cuda_fp16.h>
  6. #include <c10/macros/Export.h>
  7. // Use TORCH_CUDA_CPP_API or TORCH_CUDA_CU_API for exports from this folder
  8. #else
  9. #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
  10. #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)