Skip to content

Commit

Permalink
Merge pull request open-mpi#3766 from alinask/topic/v3x_cherry_pick_y…
Browse files Browse the repository at this point in the history
…alla_dt_fix

yalla with irregular contig datatype -- Fixes 3566
  • Loading branch information
bwbarrett authored Jul 3, 2017
2 parents f7fb55d + 3aea943 commit 21ea162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ompi/mca/pml/yalla/pml_yalla_datatype.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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); \
Expand Down

0 comments on commit 21ea162

Please sign in to comment.