- bring the order changes of r14768 also to the mvapi btl
This commit was SVN r15198. The following SVN revision numbers were found above: r14768 --> open-mpi/ompi@3401bd2b07
Этот коммит содержится в:
родитель
0edcf1d47e
Коммит
f63dd902cb
@ -197,6 +197,7 @@ int mca_btl_mvapi_register(
|
||||
*/
|
||||
mca_btl_base_descriptor_t* mca_btl_mvapi_alloc(
|
||||
struct mca_btl_base_module_t* btl,
|
||||
uint8_t order,
|
||||
size_t size)
|
||||
{
|
||||
mca_btl_mvapi_frag_t* frag;
|
||||
@ -218,6 +219,7 @@ mca_btl_base_descriptor_t* mca_btl_mvapi_alloc(
|
||||
|
||||
frag->segment.seg_len = size <= mvapi_btl->super.btl_eager_limit ? size : mvapi_btl->super.btl_eager_limit;
|
||||
frag->base.des_flags = 0;
|
||||
frag->base.order = MCA_BTL_NO_ORDER;
|
||||
|
||||
return (mca_btl_base_descriptor_t*)frag;
|
||||
}
|
||||
@ -271,6 +273,7 @@ mca_btl_base_descriptor_t* mca_btl_mvapi_prepare_src(
|
||||
struct mca_btl_base_endpoint_t* endpoint,
|
||||
mca_mpool_base_registration_t* registration,
|
||||
struct ompi_convertor_t* convertor,
|
||||
uint8_t order,
|
||||
size_t reserve,
|
||||
size_t* size
|
||||
)
|
||||
@ -317,6 +320,7 @@ mca_btl_base_descriptor_t* mca_btl_mvapi_prepare_src(
|
||||
frag->base.des_dst = NULL;
|
||||
frag->base.des_dst_cnt = 0;
|
||||
frag->base.des_flags = 0;
|
||||
frag->base.order = MCA_BTL_NO_ORDER;
|
||||
|
||||
frag->sg_entry.len = max_data;
|
||||
frag->sg_entry.lkey = mvapi_reg->l_key;
|
||||
@ -367,6 +371,7 @@ mca_btl_base_descriptor_t* mca_btl_mvapi_prepare_src(
|
||||
frag->base.des_dst = NULL;
|
||||
frag->base.des_dst_cnt = 0;
|
||||
frag->base.des_flags = 0;
|
||||
frag->base.order = MCA_BTL_NO_ORDER;
|
||||
|
||||
return &frag->base;
|
||||
}
|
||||
|
@ -446,6 +446,7 @@ extern int mca_btl_mvapi_get(
|
||||
*/
|
||||
extern mca_btl_base_descriptor_t* mca_btl_mvapi_alloc(
|
||||
struct mca_btl_base_module_t* btl,
|
||||
uint8_t order,
|
||||
size_t size);
|
||||
|
||||
|
||||
@ -472,6 +473,7 @@ mca_btl_base_descriptor_t* mca_btl_mvapi_prepare_src(
|
||||
struct mca_btl_base_endpoint_t* peer,
|
||||
mca_mpool_base_registration_t* registration,
|
||||
struct ompi_convertor_t* convertor,
|
||||
uint8_t order,
|
||||
size_t reserve,
|
||||
size_t* size
|
||||
);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user