Skip to content

Commit 487bbf3

Browse files
authored
Merge pull request #8052 from hkuno/john.l.byrne/ofi_create_recv_tag_mask
use sync_send mask for ofi_create_recv_tag
2 parents 2e5303f + 18baa5e commit 487bbf3

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
@@ -160,7 +160,7 @@ __opal_attribute_always_inline__ static inline void
160160
mtl_ofi_create_recv_tag_CQD(uint64_t *match_bits, uint64_t *mask_bits,
161161
int comm_id, int tag)
162162
{
163-
*mask_bits = ompi_mtl_ofi.sync_proto_mask;
163+
*mask_bits = ompi_mtl_ofi.sync_send;
164164
*match_bits = (uint64_t) comm_id;
165165
*match_bits = (*match_bits << (MTL_OFI_PROTO_BIT_COUNT
166166
+ MTL_OFI_TAG_BIT_COUNT_DATA));
@@ -229,7 +229,7 @@ __opal_attribute_always_inline__ static inline void
229229
mtl_ofi_create_recv_tag(uint64_t *match_bits, uint64_t *mask_bits,
230230
int comm_id, int source, int tag)
231231
{
232-
*mask_bits = ompi_mtl_ofi.sync_proto_mask;
232+
*mask_bits = ompi_mtl_ofi.sync_send;
233233
*match_bits = comm_id;
234234
*match_bits = (*match_bits << ompi_mtl_ofi.num_bits_source_rank);
235235

0 commit comments

Comments
 (0)