1
1

OSHMEM: fix for devices which do not support sharedmr

disqualify itself and use next allocator

fixed by Igor, reviewed by MikeD

cmr=v1.8.2:reviewer=ompi-rm1.8

This commit was SVN r31823.
Этот коммит содержится в:
Mike Dubman 2014-05-19 17:59:49 +00:00
родитель 22e59b056a
Коммит 7c1eb0aad9

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

@ -185,6 +185,8 @@ verbs_runtime_query(mca_base_module_t **module,
ib_mr = ibv_exp_reg_shared_mr(&in_smr);
if (NULL == ib_mr) {
mca_sshmem_verbs_component.has_shared_mr = 0;
/* device does not support shared memory allocation, select another component */
rc = OSHMEM_ERR_OUT_OF_RESOURCE;
} else {
opal_value_array_append_item(&device->ib_mr_array, &ib_mr);
mca_sshmem_verbs_component.has_shared_mr = 1;