Skip to content

Commit 40df636

Browse files
authored
Merge pull request #8957 from hkuno/pr_v4.0.x_8052
v4.0.x: use sync_send mask for ofi_create_recv_tag
2 parents b0224ea + 84f555d commit 40df636

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/mtl/ofi/mtl_ofi_types.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ __opal_attribute_always_inline__ static inline void
120120
mtl_ofi_create_recv_tag_CQD(uint64_t *match_bits, uint64_t *mask_bits,
121121
int comm_id, int tag)
122122
{
123-
*mask_bits = ompi_mtl_ofi.sync_proto_mask;
123+
*mask_bits = ompi_mtl_ofi.sync_send;
124124
*match_bits = (uint64_t) comm_id;
125125
*match_bits = (*match_bits << (MTL_OFI_PROTO_BIT_COUNT
126126
+ MTL_OFI_TAG_BIT_COUNT_DATA));
@@ -189,7 +189,7 @@ __opal_attribute_always_inline__ static inline void
189189
mtl_ofi_create_recv_tag(uint64_t *match_bits, uint64_t *mask_bits,
190190
int comm_id, int source, int tag)
191191
{
192-
*mask_bits = ompi_mtl_ofi.sync_proto_mask;
192+
*mask_bits = ompi_mtl_ofi.sync_send;
193193
*match_bits = comm_id;
194194
*match_bits = (*match_bits << ompi_mtl_ofi.num_bits_source_rank);
195195

0 commit comments

Comments
 (0)