diff --git a/src/ATen/native/xpu/sycl/Indexing.cpp b/src/ATen/native/xpu/sycl/Indexing.cpp index 984939f5f..10ac1b67c 100644 --- a/src/ATen/native/xpu/sycl/Indexing.cpp +++ b/src/ATen/native/xpu/sycl/Indexing.cpp @@ -1473,6 +1473,8 @@ void index_reduce_amin_kernel( const Tensor& result) { index_reduce_func_xpu_template( self, dim, index, source, include_self, reduce, index_reduce_min, result); +} + // ForwardIt: only legacy random access iterator is supported. template static inline ForwardIt find_bound(