Skip to content

Commit 5de8af8

Browse files
author
Michael Heinz
authored
Merge pull request #8344 from acgoldma/ofi-hint-cq_size
mtl/ofi: Add missing cq_data_size value in hints
2 parents aadaf0c + 1e64da9 commit 5de8af8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ompi/mca/mtl/ofi/mtl_ofi_component.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,10 @@ ompi_mtl_ofi_component_init(bool enable_progress_threads,
626626
hints->domain_attr->threading = FI_THREAD_DOMAIN;
627627
}
628628

629+
if ((MTL_OFI_TAG_AUTO == ofi_tag_mode) || (MTL_OFI_TAG_FULL == ofi_tag_mode)) {
630+
hints->domain_attr->cq_data_size = sizeof(int);
631+
}
632+
629633
switch (control_progress) {
630634
case MTL_OFI_PROG_AUTO:
631635
hints->domain_attr->control_progress = FI_PROGRESS_AUTO;

0 commit comments

Comments
 (0)