Skip to content

Commit 696121c

Browse files
authored
Merge pull request #1988 from hppritcha/topic/another_ofi_fix
mtl/ofi: fix a botched assignment of av_type
2 parents 6549c87 + 61d62b6 commit 696121c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/mca/mtl/ofi/mtl_ofi_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ ompi_mtl_ofi_component_init(bool enable_progress_threads,
457457
* The remote fi_addr will be stored in the ofi_endpoint struct.
458458
*/
459459

460-
av_attr.type = (MTL_OFI_AV_TABLE == av_type) ? FI_AV_MAP: FI_AV_TABLE;
460+
av_attr.type = (MTL_OFI_AV_TABLE == av_type) ? FI_AV_TABLE: FI_AV_MAP;
461461

462462
ret = fi_av_open(ompi_mtl_ofi.domain, &av_attr, &ompi_mtl_ofi.av, NULL);
463463
if (ret) {

0 commit comments

Comments
 (0)