You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
484 B
13 lines
484 B
#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)
|