Skip to content

mtl: ofi change to allow cxi anywhere in provname #12290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion ompi/mca/mtl/ofi/mtl_ofi_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -831,7 +831,8 @@ ompi_mtl_ofi_component_init(bool enable_progress_threads,
* have a problem here since it uses fi_mr_regattr only within the context of an rcache, and manages the
* requested_key field in this way.
*/
if (!strncasecmp(prov->fabric_attr->prov_name, "cxi", 3)) {
if ((NULL != strstr(prov->fabric_attr->prov_name, "cxi")) ||
(NULL != strstr(prov->fabric_attr->prov_name, "CXI")) ) {
ompi_mtl_ofi.hmem_needs_reg = false;
}

Expand Down