Merge pull request #7028 from jsquyres/pr/fix-ofi-mtl
mtl/ofi: replace OMPI_UNLIKELY with OPAL version
Этот коммит содержится в:
Коммит
7ddfa6950b
@ -2,6 +2,8 @@
|
|||||||
* Copyright (c) 2013-2018 Intel, Inc. All rights reserved
|
* Copyright (c) 2013-2018 Intel, Inc. All rights reserved
|
||||||
* Copyright (c) 2017 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2017 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
|
* Copyright (c) 2019 Triad National Security, LLC. All rights
|
||||||
|
* reserved.
|
||||||
*
|
*
|
||||||
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
|
* Copyright (c) 2018 Amazon.com, Inc. or its affiliates. All Rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
@ -562,7 +564,7 @@ ompi_mtl_ofi_isend_generic(struct mca_mtl_base_module_t *mtl,
|
|||||||
sep_peer_fiaddr = fi_rx_addr(endpoint->peer_fiaddr, ctxt_id, ompi_mtl_ofi.rx_ctx_bits);
|
sep_peer_fiaddr = fi_rx_addr(endpoint->peer_fiaddr, ctxt_id, ompi_mtl_ofi.rx_ctx_bits);
|
||||||
|
|
||||||
ompi_ret = ompi_mtl_datatype_pack(convertor, &start, &length, &free_after);
|
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->buffer = (free_after) ? start : NULL;
|
||||||
ofi_req->length = length;
|
ofi_req->length = length;
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user