Merge pull request #8027 from hppritcha/topic/patch_ofi_mtl_for_gni_prov_v41x
OFI: patch OFI MTL for GNI provider
Этот коммит содержится в:
Коммит
1d8caab4f5
@ -920,6 +920,17 @@ select_prov:
|
||||
goto error;
|
||||
}
|
||||
|
||||
/**
|
||||
* Unfortunately the attempt to implement FI_MR_SCALABLE in the GNI provider
|
||||
* doesn't work, at least not well. Since we're asking for the 1.5 libfabric
|
||||
* API now, we have to tell GNI we want to use Mr. Basic. Using FI_MR_BASIC
|
||||
* rather than FI_MR_VIRT_ADDR | FI_MR_ALLOCATED | FI_MR_PROV_KEY to stay
|
||||
* compatible with older libfabrics.
|
||||
*/
|
||||
if (!strncmp(prov->fabric_attr->prov_name,"gni",3)) {
|
||||
prov->domain_attr->mr_mode = FI_MR_BASIC;
|
||||
}
|
||||
|
||||
/**
|
||||
* Create the access domain, which is the physical or virtual network or
|
||||
* hardware port/collection of ports. Returns a domain object that can be
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user