File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dpctl/tensor/libtensor/include/kernels Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2458,7 +2458,7 @@ struct MinOverAxis1TempsContigFactory
2458
2458
{
2459
2459
if constexpr (std::is_integral_v<dstTy> &&
2460
2460
!std::is_same_v<dstTy, bool >) {
2461
- using ReductionOpT = sycl::maximum <dstTy>;
2461
+ using ReductionOpT = sycl::minimum <dstTy>;
2462
2462
return dpctl::tensor::kernels::
2463
2463
reduction_axis1_over_group_temps_contig_impl<srcTy, dstTy,
2464
2464
ReductionOpT>;
@@ -2486,7 +2486,7 @@ struct MinOverAxis0TempsContigFactory
2486
2486
{
2487
2487
if constexpr (std::is_integral_v<dstTy> &&
2488
2488
!std::is_same_v<dstTy, bool >) {
2489
- using ReductionOpT = sycl::maximum <dstTy>;
2489
+ using ReductionOpT = sycl::minimum <dstTy>;
2490
2490
return dpctl::tensor::kernels::
2491
2491
reduction_axis0_over_group_temps_contig_impl<srcTy, dstTy,
2492
2492
ReductionOpT>;
You can’t perform that action at this time.
0 commit comments