#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once #include #define MAX_THREADGROUP_SIZE static_cast(1024) C10_METAL_CONSTEXPR uint32_t SUM_NCHAINS = 8; template struct NormParams { float p; uint32_t reduction_size; uint32_t ndim; ::c10::metal::array input_sizes; ::c10::metal::array input_strides; ::c10::metal::array output_sizes; ::c10::metal::array output_strides; }; #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)