-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update morally-strong to follow HRF-indirect and add test (#569)
* Update morally-strong to follow HRF-indirect * Update fence-sc encoding * Some clean up in ScopeHierarchy class * Fix typo in vulkan test --------- Co-authored-by: Hernan Ponce de Leon <[email protected]>
- Loading branch information
1 parent
d3981bf
commit 9324fb7
Showing
8 changed files
with
46 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
PTX MP-cta-gpu | ||
"Message passing, sync because release/acquire operations are morally strong" | ||
{ | ||
x=0; | ||
y=0; | ||
P1:r1=0; | ||
P1:r2=0; | ||
} | ||
P0@cta 0,gpu 0 | P1@cta 0,gpu 0 ; | ||
st.weak x, 1 | ld.acquire.gpu r1, y ; | ||
st.release.cta y, 1 | ld.weak r2, x ; | ||
~exists | ||
(P1:r1 == 1 /\ P1:r2 != 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,14 @@ | ||
PTX SB+sc-sys-gpu | ||
"SB is not allowed because sc fences are morally strong and thus synchronize" | ||
{ | ||
x=0; | ||
y=0; | ||
P0:r1=0; | ||
P1:r2=0; | ||
} | ||
P0@cta 0,gpu 0 | P1@cta 1,gpu 0 ; | ||
st.weak x, 1 | st.weak y, 1 ; | ||
fence.sc.sys | fence.sc.gpu ; | ||
ld.weak r1, y | ld.weak r2, x ; | ||
~exists | ||
(P0:r1 != 1 /\ P1:r2 != 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