Skip to content

Commit c248803

Browse files
committed
mtl/ofi: use mca param to set av type
Signed-off-by: Howard Pritchard <[email protected]>
1 parent c263461 commit c248803

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ompi/mca/mtl/ofi/mtl_ofi_component.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,9 +455,8 @@ ompi_mtl_ofi_component_init(bool enable_progress_threads,
455455

456456
/**
457457
* The remote fi_addr will be stored in the ofi_endpoint struct.
458-
* So, we use the AV in "map" mode.
459458
*/
460-
av_attr.type = FI_AV_MAP;
459+
av_attr.type = av_type;
461460
ret = fi_av_open(ompi_mtl_ofi.domain, &av_attr, &ompi_mtl_ofi.av, NULL);
462461
if (ret) {
463462
opal_output_verbose(1, ompi_mtl_base_framework.framework_output,

0 commit comments

Comments
 (0)