Fixes trac:2532 issues with 32-bit binaries
This commit was SVN r24891. The following Trac tickets were found above: Ticket 2532 --> https://svn.open-mpi.org/trac/ompi/ticket/2532
Этот коммит содержится в:
родитель
1405bacd85
Коммит
fbda6aaf89
@ -9,7 +9,7 @@
|
|||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2007 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
* Copyright (c) 2009-2010 Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 2009-2011 Oracle and/or its affiliates. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -580,7 +580,7 @@ ompi_osc_rdma_sendreq_send(ompi_osc_rdma_module_t *module,
|
|||||||
* bus errors can occur. Keeping things aligned also may
|
* bus errors can occur. Keeping things aligned also may
|
||||||
* offer some performance improvements on other platforms.
|
* offer some performance improvements on other platforms.
|
||||||
*/
|
*/
|
||||||
offset = OPAL_ALIGN_PAD_AMOUNT(descriptor->des_src[0].seg_len, sizeof(void*));
|
offset = OPAL_ALIGN_PAD_AMOUNT(descriptor->des_src[0].seg_len, sizeof(uint64_t));
|
||||||
if (0 != offset) {
|
if (0 != offset) {
|
||||||
header->hdr_base.hdr_flags |= OMPI_OSC_RDMA_HDR_FLAG_ALIGN_MASK & offset;
|
header->hdr_base.hdr_flags |= OMPI_OSC_RDMA_HDR_FLAG_ALIGN_MASK & offset;
|
||||||
descriptor->des_src[0].seg_len += offset;
|
descriptor->des_src[0].seg_len += offset;
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user