-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly define asmo and fr in Vulkan (#528)
Signed-off-by: Hernan Ponce de Leon <[email protected]> Co-authored-by: Hernan Ponce de Leon <[email protected]>
- Loading branch information
1 parent
35f36bc
commit 3f3c8ce
Showing
10 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
PTX CoWW-RR | ||
"Non-atomic memory operations may be observed by one thread in a different order than they were written by another thread" | ||
{ | ||
P1:r0 = 0; | ||
P1:r1 = 0; | ||
x=0; | ||
} | ||
P0@cta 0,gpu 0 | P1@cta 0,gpu 0 ; | ||
st.weak x, 1 | ld.weak r0, x ; | ||
st.weak x, 2 | ld.weak r1, x ; | ||
exists | ||
(P1:r0 == 2 /\ P1:r1 == 1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Vulkan CoWW-RR | ||
"Non-atomic memory operations may be observed by one thread in a different order than they were written by another thread" | ||
{ | ||
P1:r0 = 0; | ||
P1:r1 = 0; | ||
x=0; | ||
} | ||
P0@sg 0, wg 0, qf 0 | P1@sg 0,wg 1, qf 0 ; | ||
st.sc0 x, 1 | ld.sc0 r0, x ; | ||
st.sc0 x, 2 | ld.sc0 r1, x ; | ||
exists | ||
(P1:r0 == 2 /\ P1:r1 == 1) |