From 4495da5cb9e29365be6bc574e56448f44bb6c5ff Mon Sep 17 00:00:00 2001 From: Sergey Oblomov Date: Tue, 22 May 2018 19:53:23 +0300 Subject: [PATCH] MCA/UCX: fixed error messages for incorrect msg size - supported 4 or 8 bytes only Signed-off-by: Sergey Oblomov --- oshmem/mca/atomic/ucx/atomic_ucx_cswap.c | 2 +- oshmem/mca/atomic/ucx/atomic_ucx_fadd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oshmem/mca/atomic/ucx/atomic_ucx_cswap.c b/oshmem/mca/atomic/ucx/atomic_ucx_cswap.c index fc4c7a33f50..7d84f9e3dc7 100644 --- a/oshmem/mca/atomic/ucx/atomic_ucx_cswap.c +++ b/oshmem/mca/atomic/ucx/atomic_ucx_cswap.c @@ -63,7 +63,7 @@ int mca_atomic_ucx_cswap(void *target, return ucx_status_to_oshmem(status); err_size: - ATOMIC_ERROR("[#%d] Type size must be 1/2/4 or 8 bytes.", my_pe); + ATOMIC_ERROR("[#%d] Type size must be 4 or 8 bytes.", my_pe); return OSHMEM_ERROR; } diff --git a/oshmem/mca/atomic/ucx/atomic_ucx_fadd.c b/oshmem/mca/atomic/ucx/atomic_ucx_fadd.c index a1b88c95deb..b9ce9dee0dc 100644 --- a/oshmem/mca/atomic/ucx/atomic_ucx_fadd.c +++ b/oshmem/mca/atomic/ucx/atomic_ucx_fadd.c @@ -63,6 +63,6 @@ int mca_atomic_ucx_fadd(void *target, return ucx_status_to_oshmem(status); err_size: - ATOMIC_ERROR("[#%d] Type size must be 1/2/4 or 8 bytes.", my_pe); + ATOMIC_ERROR("[#%d] Type size must be 4 or 8 bytes.", my_pe); return OSHMEM_ERROR; }