Fix compilation when --enable-hetorogeneous
This commit was SVN r32410.
Этот коммит содержится в:
родитель
5b1ae87c76
Коммит
5f1e0f284a
@ -11,6 +11,8 @@
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2008-2010 Oracle and/or its affiliates. All rights reserved
|
||||
* Copyright (c) 2011 Cisco Systems, Inc. All rights reserved.
|
||||
* Copyright (c) 2014 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -383,7 +385,7 @@ int mca_btl_tcp2_proc_insert( mca_btl_tcp2_proc_t* btl_proc,
|
||||
Network Byte Order) and expect all information received to
|
||||
be in NBO. Since big endian machines always send and receive
|
||||
in NBO, we don't care so much about that case. */
|
||||
if (btl_proc->proc_ompi->proc_arch & OPAL_ARCH_ISBIGENDIAN) {
|
||||
if (btl_proc->proc_ompi->super.proc_arch & OPAL_ARCH_ISBIGENDIAN) {
|
||||
btl_endpoint->endpoint_nbo = true;
|
||||
}
|
||||
#endif
|
||||
|
@ -12,6 +12,8 @@
|
||||
* reserved.
|
||||
* Copyright (c) 2009-2011 Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2012-2013 Sandia National Laboratories. All rights reserved.
|
||||
* Copyright (c) 2014 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -575,7 +577,7 @@ static inline int osc_rdma_accumulate_buffer (void *target, void *source, size_t
|
||||
}
|
||||
|
||||
#if OPAL_ENABLE_HETEROGENEOUS_SUPPORT
|
||||
if (proc->proc_arch != ompi_proc_local()->proc_arch) {
|
||||
if (proc->super.proc_arch != ompi_proc_local()->super.proc_arch) {
|
||||
ompi_datatype_t *primitive_datatype = NULL;
|
||||
uint32_t primitive_count;
|
||||
size_t buflen;
|
||||
@ -601,7 +603,7 @@ static inline int osc_rdma_accumulate_buffer (void *target, void *source, size_t
|
||||
count, op);
|
||||
|
||||
#if OPAL_ENABLE_HETEROGENEOUS_SUPPORT
|
||||
if (proc->proc_arch != ompi_proc_local()->proc_arch) {
|
||||
if (proc->super.proc_arch != ompi_proc_local()->super.proc_arch) {
|
||||
free(buffer);
|
||||
}
|
||||
#endif
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* Copyright (c) 2013 Mellanox Technologies, Inc.
|
||||
* All rights reserved.
|
||||
* Copyright (c) 2014 Research Organization for Information Science
|
||||
* and Technology (RIST). All rights reserved.
|
||||
* $COPYRIGHT$
|
||||
*
|
||||
* Additional copyrights may follow
|
||||
@ -500,7 +502,7 @@ int oshmem_proc_unpack(opal_buffer_t* buf,
|
||||
/* if arch is different than mine, create a new convertor for this proc */
|
||||
if (plist[i]->super.proc_arch != opal_local_arch) {
|
||||
#if OPAL_ENABLE_HETEROGENEOUS_SUPPORT
|
||||
OBJ_RELEASE(plist[i]->proc_convertor);
|
||||
OBJ_RELEASE(plist[i]->super.proc_convertor);
|
||||
plist[i]->super.proc_convertor = opal_convertor_create(plist[i]->super.proc_arch, 0);
|
||||
#else
|
||||
orte_show_help("help-shmem-runtime.txt",
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user