#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once #include #define INTRA_OP_PARALLEL namespace at::internal { TORCH_API void invoke_parallel( const int64_t begin, const int64_t end, const int64_t grain_size, const std::function& f); } // namespace at::internal #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)