Skip to content

Commit

Permalink
fence.acq_rel to fence.sc
Browse files Browse the repository at this point in the history
  • Loading branch information
tonghaining committed Jan 9, 2024
1 parent e7abe0e commit 22938fa
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion litmus/PTX/Memalloy/IRIW_gl_cta.litmus
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ x=0;
}
P0@cta 0,gpu 0 | P1@cta 1,gpu 0 | P2@cta 1,gpu 0 | P3@cta 1,gpu 0 ;
ld.weak r0, 1 | ld.weak r0, x | ld.weak r0, 2 | ld.weak r0, x ;
st.weak x, r0 | fence.acq_rel.gpu | st.weak x, r0 | fence.acq_rel.cta ;
st.weak x, r0 | fence.sc.gpu | st.weak x, r0 | fence.sc.cta ;
| ld.weak r2, x | | ld.weak r2, x ;
exists
(P1:r0 == 1 /\ P1:r2 == 0 /\ P3:r0 == 1 /\ P3:r2 == 0)
2 changes: 1 addition & 1 deletion litmus/PTX/Memalloy/IRIW_uniproc.litmus
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ x=0;
}
P0@cta 0,gpu 0 | P1@cta 1,gpu 0 | P2@cta 1,gpu 0 | P3@cta 1,gpu 0 ;
ld.weak r0, 1 | ld.weak r0, x | ld.weak r0, 2 | ld.weak r0, x ;
st.weak x, r0 | fence.acq_rel.cta | st.weak x, r0 | fence.acq_rel.gpu ;
st.weak x, r0 | fence.sc.cta | st.weak x, r0 | fence.sc.gpu ;
| ld.weak r2, x | | ld.weak r2, x ;
exists
(P1:r0 == 1 /\ P1:r2 == 0 /\ P3:r0 == 2 /\ P3:r2 == 2 /\ x == 1)
4 changes: 2 additions & 2 deletions litmus/PTX/Memalloy/IRRWIW_uniproc.litmus
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ x=0;
}
P0@cta 0,gpu 0 | P1@cta 1,gpu 0 | P2@cta 1,gpu 0 | P3@cta 1,gpu 0 ;
ld.weak r0, 1 | ld.weak r0, x | ld.weak r0, 2 | ld.weak r2, 3 ;
st.weak x, r0 | fence.acq_rel.cta | st.weak x, r0 | ld.weak r0, x ;
| ld.weak r2, x | | fence.acq_rel.gpu ;
st.weak x, r0 | fence.sc.cta | st.weak x, r0 | ld.weak r0, x ;
| ld.weak r2, x | | fence.sc.gpu ;
| | | st.weak x, r2 ;
exists
(P1:r0 == 1 /\ P1:r2 == 0 /\ P3:r0 == 2 /\ x == 1)
2 changes: 1 addition & 1 deletion litmus/PTX/Memalloy/IRWIW_gl_cta.litmus
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ y=0;
P0@cta 0,gpu 0 | P1@cta 1,gpu 0 | P2@cta 1,gpu 0 | P3@cta 1,gpu 0 ;
ld.weak r0, 2 | ld.weak r2, 1 | ld.weak r0, 2 | ld.weak r2, 2 ;
st.weak x, r0 | ld.weak r0, x | st.weak y, r0 | ld.weak r0, y ;
| fence.acq_rel.gpu | | fence.acq_rel.cta ;
| fence.sc.gpu | | fence.sc.cta ;
| st.weak y, r2 | | st.weak x, r2 ;
exists
(P1:r0 == 2 /\ P3:r0 == 2 /\ x == 2 /\ y == 2)
4 changes: 2 additions & 2 deletions litmus/PTX/Memalloy/RWC_uniproc.litmus
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ x=0;
}
P0@cta 0,gpu 0 | P1@cta 1,gpu 0 | P2@cta 1,gpu 0 ;
ld.weak r0, 1 | ld.weak r0, x | ld.weak r0, 2 ;
st.weak x, r0 | fence.acq_rel.cta | st.weak x, r0 ;
| ld.weak r2, x | fence.acq_rel.gpu ;
st.weak x, r0 | fence.sc.cta | st.weak x, r0 ;
| ld.weak r2, x | fence.sc.gpu ;
| | ld.weak r2, x ;
exists
(P1:r0 == 1 /\ P1:r2 == 0 /\ P2:r2 == 2 /\ x == 1)
4 changes: 2 additions & 2 deletions litmus/PTX/Memalloy/WRR+2W.litmus
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ x=0;
}
P0@cta 0,gpu 0 | P1@cta 1,gpu 0 | P2@cta 1,gpu 0 ;
ld.weak r0, 1 | ld.weak r0, x | ld.weak r0, 2 ;
st.weak x, r0 | fence.acq_rel.cta | ld.weak r2, 3 ;
st.weak x, r0 | fence.sc.cta | ld.weak r2, 3 ;
| ld.weak r2, x | st.weak x, r0 ;
| | fence.acq_rel.gpu ;
| | fence.sc.gpu ;
| | st.weak x, r2 ;
exists
(P1:r0 == 1 /\ P1:r2 == 0 /\ x == 1)

0 comments on commit 22938fa

Please sign in to comment.