Change calls to bml_btl->btl_alloc() to mca_bml_base_alloc().
This commit was SVN r16596.
Этот коммит содержится в:
родитель
67f4b69848
Коммит
04578ffdd6
@ -1044,8 +1044,7 @@ rdma_send_info_send(ompi_osc_rdma_module_t *module,
|
||||
ompi_osc_rdma_rdma_info_header_t *header = NULL;
|
||||
|
||||
bml_btl = peer_send_info->bml_btl;
|
||||
descriptor = bml_btl->btl_alloc(bml_btl->btl,
|
||||
MCA_BTL_NO_ORDER,
|
||||
mca_bml_base_alloc(bml_btl, &descriptor, MCA_BTL_NO_ORDER,
|
||||
sizeof(ompi_osc_rdma_rdma_info_header_t));
|
||||
if (NULL == descriptor) {
|
||||
ret = OMPI_ERR_TEMP_OUT_OF_RESOURCE;
|
||||
|
@ -454,9 +454,9 @@ ompi_osc_rdma_sendreq_send(ompi_osc_rdma_module_t *module,
|
||||
/* get a buffer... */
|
||||
endpoint = (mca_bml_base_endpoint_t*) sendreq->req_target_proc->proc_bml;
|
||||
bml_btl = mca_bml_base_btl_array_get_next(&endpoint->btl_eager);
|
||||
descriptor = bml_btl->btl_alloc(bml_btl->btl,
|
||||
MCA_BTL_NO_ORDER,
|
||||
module->m_use_buffers ? bml_btl->btl_eager_limit : needed_len < bml_btl->btl_eager_limit ? needed_len :
|
||||
mca_bml_base_alloc(bml_btl, &descriptor, MCA_BTL_NO_ORDER,
|
||||
module->m_use_buffers ? bml_btl->btl_eager_limit :
|
||||
needed_len < bml_btl->btl_eager_limit ? needed_len :
|
||||
bml_btl->btl_eager_limit);
|
||||
if (NULL == descriptor) {
|
||||
ret = OMPI_ERR_TEMP_OUT_OF_RESOURCE;
|
||||
@ -698,8 +698,7 @@ ompi_osc_rdma_replyreq_send(ompi_osc_rdma_module_t *module,
|
||||
/* Get a BTL and a fragment to go with it */
|
||||
endpoint = (mca_bml_base_endpoint_t*) replyreq->rep_origin_proc->proc_bml;
|
||||
bml_btl = mca_bml_base_btl_array_get_next(&endpoint->btl_eager);
|
||||
descriptor = bml_btl->btl_alloc(bml_btl->btl,
|
||||
MCA_BTL_NO_ORDER,
|
||||
mca_bml_base_alloc(bml_btl, &descriptor, MCA_BTL_NO_ORDER,
|
||||
bml_btl->btl_eager_limit);
|
||||
if (NULL == descriptor) {
|
||||
ret = OMPI_ERR_TEMP_OUT_OF_RESOURCE;
|
||||
@ -1260,8 +1259,7 @@ ompi_osc_rdma_control_send(ompi_osc_rdma_module_t *module,
|
||||
/* Get a BTL and a fragment to go with it */
|
||||
endpoint = (mca_bml_base_endpoint_t*) proc->proc_bml;
|
||||
bml_btl = mca_bml_base_btl_array_get_next(&endpoint->btl_eager);
|
||||
descriptor = bml_btl->btl_alloc(bml_btl->btl,
|
||||
MCA_BTL_NO_ORDER,
|
||||
mca_bml_base_alloc(bml_btl, &descriptor, MCA_BTL_NO_ORDER,
|
||||
sizeof(ompi_osc_rdma_control_header_t));
|
||||
if (NULL == descriptor) {
|
||||
ret = OMPI_ERR_TEMP_OUT_OF_RESOURCE;
|
||||
@ -1322,8 +1320,7 @@ ompi_osc_rdma_rdma_ack_send(ompi_osc_rdma_module_t *module,
|
||||
ompi_osc_rdma_control_header_t *header = NULL;
|
||||
|
||||
/* Get a BTL and a fragment to go with it */
|
||||
descriptor = bml_btl->btl_alloc(bml_btl->btl,
|
||||
rdma_btl->rdma_order,
|
||||
mca_bml_base_alloc(bml_btl, &descriptor, rdma_btl->rdma_order,
|
||||
sizeof(ompi_osc_rdma_control_header_t));
|
||||
if (NULL == descriptor) {
|
||||
ret = OMPI_ERR_TEMP_OUT_OF_RESOURCE;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user