#if !defined(TORCH_STABLE_ONLY) && !defined(TORCH_TARGET_VERSION) #pragma once #include template struct IndexReduceParams { int32_t ndim; int32_t reduce_dim; ::c10::metal::array self_strides; ::c10::metal::array self_sizes; ::c10::metal::array source_strides; ::c10::metal::array source_sizes; uint32_t index_stride; }; #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)