From 98fd52de88f9485fb2290325bd1c2343207c2a69 Mon Sep 17 00:00:00 2001 From: Armando Vinciguerra <48924906+avincigu@users.noreply.github.com> Date: Mon, 6 Jan 2025 15:29:13 -0500 Subject: [PATCH 1/2] Update mpp/shmemx.h4 Co-authored-by: Md Rahman --- mpp/shmemx.h4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpp/shmemx.h4 b/mpp/shmemx.h4 index 611e5f28..f82729e0 100644 --- a/mpp/shmemx.h4 +++ b/mpp/shmemx.h4 @@ -38,7 +38,7 @@ include(shmemx_c_func.h4)dnl /* SHMEMX constant(s) are included in MAX_HINTS value in shmem-def.h */ #define SHMEMX_MALLOC_NO_BARRIER (1l<<2) -/* C++ overloaded declarations */ +/* C++ overloaded declarations */ #ifdef __cplusplus } /* extern "C" */ From 32bd72de10266ebb2f895861a8a4a960b58156af Mon Sep 17 00:00:00 2001 From: Armando Vinciguerra <48924906+avincigu@users.noreply.github.com> Date: Mon, 6 Jan 2025 15:29:20 -0500 Subject: [PATCH 2/2] Update src/collectives.c Co-authored-by: Md Rahman --- src/collectives.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collectives.c b/src/collectives.c index 6a00d456..d260aa09 100644 --- a/src/collectives.c +++ b/src/collectives.c @@ -208,8 +208,8 @@ shmem_internal_collectives_init(void) } else { RAISE_WARN_MSG("Ignoring bad reduction algorithm '%s'\n", type); } - } - if (shmem_internal_params.SCAN_ALGORITHM_provided) { + } + if (shmem_internal_params.SCAN_ALGORITHM_provided) { type = shmem_internal_params.SCAN_ALGORITHM; if (0 == strcmp(type, "auto")) { shmem_internal_scan_type = AUTO;