From fc83400123ed4317e8dd59435ad144a855302c47 Mon Sep 17 00:00:00 2001 From: Rolf vandeVaart Date: Mon, 5 Oct 2015 11:44:40 -0400 Subject: [PATCH] Fix typo that caused compile error --- opal/mca/common/cuda/common_cuda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opal/mca/common/cuda/common_cuda.c b/opal/mca/common/cuda/common_cuda.c index daa7adcac03..bf966747a50 100644 --- a/opal/mca/common/cuda/common_cuda.c +++ b/opal/mca/common/cuda/common_cuda.c @@ -1811,7 +1811,7 @@ static int mca_common_cuda_is_gpu_buffer(const void *pUserBuf, opal_convertor_t #if !OPAL_CUDA_GET_ATTRIBUTES res = cuFunc.cuPointerGetAttribute(&memCtx, CU_POINTER_ATTRIBUTE_CONTEXT, dbuf); - if (OPAL_UNLIKELEY(res != CUDA_SUCCESS)) { + if (OPAL_UNLIKELY(res != CUDA_SUCCESS)) { opal_output(0, "CUDA: error calling cuPointerGetAttribute: " "res=%d, ptr=%p aborting...", res, pUserBuf); return OPAL_ERROR;