Fix the check

This commit is contained in:
Angelos Katharopoulos
2025-10-01 21:13:07 -07:00
parent 17432e7885
commit e42e06046e

View File

@@ -338,7 +338,7 @@ void col_reduce(
// Small col reduce with a single or contiguous reduction axis // Small col reduce with a single or contiguous reduction axis
if (args.non_col_reductions == 1 && args.reduction_size <= 32 && if (args.non_col_reductions == 1 && args.reduction_size <= 32 &&
args.reduction_stride % 4 == 0) { args.reduction_stride % (16 / in.itemsize()) == 0) {
col_reduce_small( col_reduce_small(
encoder, in, out, reduce_type, axes, plan, std::move(args)); encoder, in, out, reduce_type, axes, plan, std::move(args));
return; return;