Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add privIsScoped check and update tests #578

Merged

Conversation

tonghaining
Copy link
Contributor

This PR removes adding NON_PRIVATE tag to scoped operations in the Vulkan model.

Instead, it makes it a sanitor check that all private operations should not be scoped.

@@ -172,6 +172,10 @@ flag ~empty nonprivIsRW as checkNonprivIsRW
let atomicIsNonpriv = ([ATOM] \ [NONPRIV])
flag ~empty atomicIsNonpriv as checkAtomicIsNonpriv

// Private operations are not scoped
let privIsScoped = (([M \ NONPRIV]) & [DV | QF | WG | SG])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use PRIV instead

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right I forgot, updated.

@hernanponcedeleon hernanponcedeleon merged commit 27f88cd into hernanponcedeleon:development Nov 28, 2023
1 check passed
@tonghaining tonghaining deleted the vulkan-priv branch January 5, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants