We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 95b27d3 + 0ebea59 commit 2f2ddafCopy full SHA for 2f2ddaf
opal/mca/btl/smcuda/btl_smcuda_fifo.h
@@ -85,6 +85,8 @@ static void add_pending(struct mca_btl_base_endpoint_t *ep, void *data, bool res
85
#define MCA_BTL_SMCUDA_FIFO_WRITE(endpoint_peer, my_smp_rank, peer_smp_rank, hdr, resend, \
86
retry_pending_sends, rc) \
87
do { \
88
+ /* memory barrier: ensure writes to the hdr have completed */ \
89
+ opal_atomic_wmb(); \
90
sm_fifo_t *fifo = &(mca_btl_smcuda_component.fifo[peer_smp_rank][FIFO_MAP(my_smp_rank)]); \
91
\
92
if (retry_pending_sends) { \
0 commit comments