diff --git a/src/cunumeric/unary/unary_red.cu b/src/cunumeric/unary/unary_red.cu index 47ae3ecc4..d6617df71 100644 --- a/src/cunumeric/unary/unary_red.cu +++ b/src/cunumeric/unary/unary_red.cu @@ -333,12 +333,8 @@ struct UnaryRedImplBody { blocks.initialize(rect, collapsed_dim); blocks.compute_maximum_concurrency(reinterpret_cast(Kernel)); - if constexpr (HAS_WHERE) - Kernel<<>>( - lhs, rhs, where, LG_OP::identity, blocks, rect, collapsed_dim); - else - Kernel<<>>( - lhs, rhs, AccessorRO(), LG_OP::identity, blocks, rect, collapsed_dim); + Kernel<<>>( + lhs, rhs, where, LG_OP::identity, blocks, rect, collapsed_dim); CHECK_CUDA_STREAM(stream); } };