1
1

Merge pull request #3567 from markalle/pr/yalla_datatypes

yalla with irregular contig datatype -- Fixes 3566
Этот коммит содержится в:
Joshua Ladd 2017-05-24 10:48:16 -04:00 коммит произвёл GitHub
родитель facd6d6b33 36f51bca26
Коммит 02c288c853

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

@ -3,6 +3,7 @@
* Copyright (C) Mellanox Technologies Ltd. 2001-2011. ALL RIGHTS RESERVED.
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2017 IBM Corporation. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -29,8 +30,7 @@ OBJ_CLASS_DECLARATION(mca_pml_yalla_convertor_t);
ptrdiff_t lb; \
\
if (opal_datatype_is_contiguous_memory_layout(&(_dtype)->super, _count)) { \
ompi_datatype_type_size(_dtype, &size); \
ompi_datatype_type_lb(_dtype, &lb); \
ompi_datatype_get_true_extent(_dtype, &lb, &size); \
(_req_base)->data_type = MXM_REQ_DATA_BUFFER; \
(_req_base)->data.buffer.ptr = (char *)_buf + lb; \
(_req_base)->data.buffer.length = size * (_count); \