1
1

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.
Этот коммит содержится в:
George Bosilca 2009-07-16 18:25:08 +00:00
родитель 9dc7f884b2
Коммит d07ffedc54
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -360,7 +360,7 @@ mca_btl_base_descriptor_t* mca_btl_pcie_prepare_dst(
if(NULL == frag) {
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 +
convertor->bConverted;
if(NULL == registration) {

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

@ -336,7 +336,7 @@ mca_btl_base_descriptor_t* mca_btl_sctp_prepare_dst(
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_addr.pval = convertor->pBaseBuf + lb + convertor->bConverted;