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 4c972c1 + 71f378d commit a55e9b2Copy full SHA for a55e9b2
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