correction for case where registration not supported
This commit was SVN r7199.
Этот коммит содержится в:
родитель
383d9f58e7
Коммит
d7d717af46
@ -155,8 +155,14 @@ void* mca_mpool_gm_realloc(
|
|||||||
void mca_mpool_gm_free(mca_mpool_base_module_t* mpool, void * addr,
|
void mca_mpool_gm_free(mca_mpool_base_module_t* mpool, void * addr,
|
||||||
mca_mpool_base_registration_t* registration)
|
mca_mpool_base_registration_t* registration)
|
||||||
{
|
{
|
||||||
|
#if OMPI_MCA_MPOOL_GM_SUPPORT_REGISTERING
|
||||||
OBJ_RELEASE(registration);
|
OBJ_RELEASE(registration);
|
||||||
free(addr);
|
free(addr);
|
||||||
|
#else
|
||||||
|
mca_mpool_gm_module_t *gm_mpool = (mca_mpool_gm_module_t*)mpool;
|
||||||
|
OBJ_RELEASE(registration);
|
||||||
|
gm_dma_free(gm_mpool->port, addr);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user