No opal datatype functions in the BTL. The datatype attached to the
convertor is an ompi_datatype_t so calling the ompi level functions is the way to go. This commit was SVN r21698.
Этот коммит содержится в:
родитель
9dc7f884b2
Коммит
d07ffedc54
@ -360,7 +360,7 @@ mca_btl_base_descriptor_t* mca_btl_pcie_prepare_dst(
|
|||||||
if(NULL == frag) {
|
if(NULL == frag) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
ompi_datatype_type_lb(convertor->pDesc, &lb);
|
ompi_datatype_type_lb((ompi_datatype_t*)convertor->pDesc, &lb);
|
||||||
frag->segment.seg_addr.pval = convertor->pBaseBuf + lb +
|
frag->segment.seg_addr.pval = convertor->pBaseBuf + lb +
|
||||||
convertor->bConverted;
|
convertor->bConverted;
|
||||||
if(NULL == registration) {
|
if(NULL == registration) {
|
||||||
|
@ -336,7 +336,7 @@ mca_btl_base_descriptor_t* mca_btl_sctp_prepare_dst(
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
opal_datatype_type_lb(convertor->pDesc, &lb);
|
ompi_datatype_type_lb((ompi_datatype_t*)convertor->pDesc, &lb);
|
||||||
frag->segments->seg_len = *size;
|
frag->segments->seg_len = *size;
|
||||||
frag->segments->seg_addr.pval = convertor->pBaseBuf + lb + convertor->bConverted;
|
frag->segments->seg_addr.pval = convertor->pBaseBuf + lb + convertor->bConverted;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user