From 7383657aaeb4d045b56cc26819e910af4c34fba9 Mon Sep 17 00:00:00 2001 From: jdomine-dardtop Date: Fri, 7 Jul 2023 16:55:54 -0500 Subject: [PATCH] nvector: ternary atomic test 3 --- src/nvector/parhyp/nvector_parhyp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nvector/parhyp/nvector_parhyp.c b/src/nvector/parhyp/nvector_parhyp.c index a3ece91482..cae7192458 100644 --- a/src/nvector/parhyp/nvector_parhyp.c +++ b/src/nvector/parhyp/nvector_parhyp.c @@ -1212,14 +1212,14 @@ realtype N_VWSqrSumMaskLocal_ParHyp(N_Vector x, N_Vector w, N_Vector id) const size_t buffer_size = atomic ? 1 : grid; NV_CATCH_ERR_PH(InitializeReductionBuffer(x, sum, buffer_size)) - wL2NormSquareMaskKernel<<>> + wL2NormSquareMaskKernel<<>> ( xd, wd, idd, NV_DBUFFERp_PH(x), N, - (atomic?nullptr:NV_DCOUNTERp_PH(x)) + (atomic ? nullptr : NV_DCOUNTERp_PH(x)) ); // if (atomic) // {