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.
Этот коммит содержится в:
родитель
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;
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user