1
1

Fix compile errors created from changeset 29058.

This commit was SVN r29061.
Этот коммит содержится в:
Rolf vandeVaart 2013-08-22 18:25:23 +00:00
родитель 63ac60864b
Коммит 96457df9bc
2 изменённых файлов: 14 добавлений и 26 удалений

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

@ -7,6 +7,7 @@
* reserved.
* Copyright (c) 2012 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2013 NVIDIA Corporation. All rights reserved.
*
* $COPYRIGHT$
*
@ -355,7 +356,7 @@ static int xoob_send_connect_data(mca_btl_base_endpoint_t* endpoint,
/* send to remote endpoint */
rc = ompi_rte_send_buffer_nb(&endpoint->endpoint_proc->proc_ompi->proc_name,
buffer, OMPI_RML_TAG_XOPENIB, 0,
buffer, OMPI_RML_TAG_XOPENIB,
xoob_rml_send_cb, NULL);
if (OMPI_SUCCESS != rc) {
OMPI_ERROR_LOG(rc);
@ -1003,8 +1004,6 @@ static void xoob_rml_recv_cb(int status, ompi_process_name_t* process_name,
static int xoob_component_query(mca_btl_openib_module_t *openib_btl,
ompi_btl_openib_connect_base_module_t **cpc)
{
int rc;
if (mca_btl_openib_component.num_xrc_qps <= 0) {
opal_output_verbose(5, ompi_btl_base_framework.framework_output,
"openib BTL: xoob CPC only supported with XRC receive queues; skipped on %s:%d",
@ -1024,17 +1023,11 @@ static int xoob_component_query(mca_btl_openib_module_t *openib_btl,
ensure to only post it *once*, because another btl may have
come in before this and already posted it. */
if (!rml_recv_posted) {
rc = ompi_rte_recv_buffer_nb(OMPI_NAME_WILDCARD,
OMPI_RML_TAG_XOPENIB,
OMPI_RML_PERSISTENT,
xoob_rml_recv_cb,
NULL);
if (OMPI_SUCCESS != rc) {
opal_output_verbose(5, ompi_btl_base_framework.framework_output,
"openib BTL: xoob CPC system error %d (%s)",
rc, opal_strerror(rc));
return rc;
}
ompi_rte_recv_buffer_nb(OMPI_NAME_WILDCARD,
OMPI_RML_TAG_XOPENIB,
OMPI_RML_PERSISTENT,
xoob_rml_recv_cb,
NULL);
rml_recv_posted = true;
}

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

@ -4,6 +4,7 @@
* Copyright (c) 2012 Los Alamos National Security, LLC.
* All rights reserved.
* Copyright (c) 2009-2012 Oak Ridge National Laboratory. All rights reserved.
* Copyright (c) 2013 NVIDIA Corporation. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -786,7 +787,7 @@ static int xoob_send_connect_data(ompi_common_ofacm_xoob_local_connection_contex
/* send to remote endpoint */
rc = ompi_rte_send_buffer_nb(&context->proc->proc_ompi->proc_name,
buffer, OMPI_RML_TAG_XOFACM, 0,
buffer, OMPI_RML_TAG_XOFACM,
xoob_rml_send_cb, NULL);
if (OMPI_SUCCESS != rc) {
OMPI_ERROR_LOG(rc);
@ -1374,7 +1375,6 @@ static void xoob_rml_recv_cb(int status, ompi_process_name_t* process_name,
static int xoob_component_query(ompi_common_ofacm_base_dev_desc_t *dev,
ompi_common_ofacm_base_module_t **cpc)
{
int rc;
ompi_common_ofacm_xoob_module_t *xcpc; /* xoob cpc module */
ompi_common_ofacm_base_module_t *bcpc; /* base cpc module */
@ -1402,16 +1402,11 @@ static int xoob_component_query(ompi_common_ofacm_base_dev_desc_t *dev,
ensure to only post it *once*, because another btl may have
come in before this and already posted it. */
if (!rml_recv_posted) {
rc = ompi_rte_recv_buffer_nb(OMPI_NAME_WILDCARD,
OMPI_RML_TAG_XOFACM,
OMPI_RML_PERSISTENT,
xoob_rml_recv_cb,
NULL);
if (OMPI_SUCCESS != rc) {
OFACM_VERBOSE(("OFACM: xoob CPC system error %d (%s)",
rc, opal_strerror(rc)));
return rc;
}
ompi_rte_recv_buffer_nb(OMPI_NAME_WILDCARD,
OMPI_RML_TAG_XOFACM,
OMPI_RML_PERSISTENT,
xoob_rml_recv_cb,
NULL);
rml_recv_posted = true;
}