| 123456789101112 |
- #if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
- #pragma once
- #include <ATen/cuda/CUDAConfig.h>
- #include <string>
- // AT_USE_JITERATOR(), controls whether we jit some elementwise kernels
- #define AT_USE_JITERATOR() true
- #define jiterator_stringify(...) std::string(#__VA_ARGS__);
- #else
- #error "This file should not be included when either TORCH_STABLE_ONLY or TORCH_TARGET_VERSION is defined."
- #endif // !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION)
|