Skip to content

Instantly share code, notes, and snippets.

@raphlinus
Created January 15, 2022 18:18
Show Gist options
  • Save raphlinus/06d53272462a4c38ce1e65b74eff3ffa to your computer and use it in GitHub Desktop.
Save raphlinus/06d53272462a4c38ce1e65b74eff3ffa to your computer and use it in GitHub Desktop.
Non-atomic CoRR litmus test for Vulkan memory model
NEWWG
NEWSG
NEWTHREAD
st.atom.scopedev.sc0 x = 1
NEWWG
NEWSG
NEWTHREAD
ld.atom.scopedev.sc0 x = 1
ld.scopedev.sc0 x
NOSOLUTION consistent[X] && #X.dr=0
SATISFIABLE (#RFINIT=0) && (!consistent[X] || #dr>0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment