udapl btl was not compiling after r12878 on 12/17/2006, some minor changes to allow btl to compile
This commit was SVN r12963. The following SVN revision numbers were found above: r12878 --> open-mpi/ompi@190e7a27cd
Этот коммит содержится в:
родитель
e5f90eaadc
Коммит
899297c8f4
@ -21,6 +21,7 @@
|
||||
*/
|
||||
|
||||
#include "ompi_config.h"
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include "opal/util/output.h"
|
||||
#include "opal/util/if.h"
|
||||
@ -422,7 +423,8 @@ int mca_btl_udapl_free(
|
||||
mca_btl_udapl_frag_t* frag = (mca_btl_udapl_frag_t*)des;
|
||||
|
||||
if(frag->size == 0 && frag->registration != NULL) {
|
||||
btl->btl_mpool->mpool_deregister(btl->btl_mpool, frag->registration);
|
||||
btl->btl_mpool->mpool_deregister(btl->btl_mpool,
|
||||
(mca_mpool_base_registration_t*)frag->registration);
|
||||
MCA_BTL_UDAPL_FRAG_RETURN_USER(btl, frag);
|
||||
} else if(frag->size == mca_btl_udapl_component.udapl_eager_frag_size) {
|
||||
MCA_BTL_UDAPL_FRAG_RETURN_EAGER(btl, frag);
|
||||
|
@ -36,7 +36,7 @@ static void mca_btl_udapl_frag_common_constructor(mca_btl_udapl_frag_t* frag)
|
||||
frag->base.des_flags = 0;
|
||||
#endif
|
||||
|
||||
frag->registration = (mca_mpool_base_registration_t*)reg;
|
||||
frag->registration = reg;
|
||||
frag->segment.seg_addr.pval = (unsigned char*)(frag + 1);
|
||||
frag->ftr = NULL;
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user