From 70fa320e98cf0e170db5980a40130ec0d5c92db1 Mon Sep 17 00:00:00 2001 From: Irina Demeshko Date: Fri, 17 Nov 2023 13:00:29 -0800 Subject: [PATCH] Update src/cunumeric/unary/unary_red.cu Co-authored-by: Manolis Papadakis --- src/cunumeric/unary/unary_red.cu | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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); } };