Skip to content

Commit

Permalink
fix WRW+WR1
Browse files Browse the repository at this point in the history
  • Loading branch information
tonghaining committed Jan 29, 2024
1 parent ce95a62 commit 848e9d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litmus/PTX/Memalloy/WRW+WR1.litmus
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ y=0;
}
P0@cta 0,gpu 0 | P1@cta 1,gpu 0 | P2@cta 1,gpu 0 ;
ld r0, 1 | ld.weak r0, x | ld r0, 2 ;
st.weak x, r0 | fence.sc.cta | ld.weak r0, x ;
st.weak x, r0 | fence.sc.cta | st.weak x, r0 ;
| ld r2, 1 | fence.sc.gpu ;
| st.weak y, r2 | st.weak y, r2 ;
| st.weak y, r2 | ld.weak r2, y ;
exists
(y == 2 /\ P1:r0 == 1 /\ P2:r2 == 0)

0 comments on commit 848e9d0

Please sign in to comment.