1
1

Merge pull request #7017 from hppritcha/topic/patch_ofi_v4.0.x

mtl/ofi: replace OMPI_UNLIKELY with OPAL version
Этот коммит содержится в:
Geoff Paulsen 2019-09-26 17:18:22 -05:00 коммит произвёл GitHub
родитель 9f4b7ba508 5f3dbdb5c8
Коммит 2ea5548dbe
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

Просмотреть файл

@ -2,6 +2,8 @@
* Copyright (c) 2013-2018 Intel, Inc. All rights reserved
* Copyright (c) 2017 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2019 Triad National Security, LLC. All rights
* reserved.
*
* $COPYRIGHT$
*
@ -447,7 +449,7 @@ ompi_mtl_ofi_isend(struct mca_mtl_base_module_t *mtl,
endpoint = ompi_mtl_ofi_get_endpoint(mtl, ompi_proc);
ompi_ret = ompi_mtl_datatype_pack(convertor, &start, &length, &free_after);
if (OMPI_UNLIKELY(OMPI_SUCCESS != ompi_ret)) return ompi_ret;
if (OPAL_UNLIKELY(OMPI_SUCCESS != ompi_ret)) return ompi_ret;
ofi_req->buffer = (free_after) ? start : NULL;
ofi_req->length = length;