mtl/psm: fix problem with cancel sends
incorporate patch from @afriedle-intel to fix problem with psm mtl cancel of sends. Sorry for the delay in getting to this. Fixes 347
Этот коммит содержится в:
родитель
b838df9eb8
Коммит
4643110c5e
@ -31,6 +31,11 @@ int ompi_mtl_psm_cancel(struct mca_mtl_base_module_t* mtl,
|
||||
mca_mtl_psm_request_t *mtl_psm_request =
|
||||
(mca_mtl_psm_request_t*) mtl_request;
|
||||
|
||||
/* PSM does not support canceling sends */
|
||||
if(OMPI_MTL_PSM_ISEND == mtl_psm_request->type) {
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
err = psm_mq_cancel(&mtl_psm_request->psm_request);
|
||||
if(PSM_OK == err) {
|
||||
err = psm_mq_test(&mtl_psm_request->psm_request, &status);
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user