Skip to content

[libspirv] Move unsigned atomic built-ins to generic #18532

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

Open
wants to merge 1 commit into
base: sycl
Choose a base branch
from

Conversation

wenju-he
Copy link
Contributor

Similar to PR #18328, unsigned variant has the same implementation as signed variant for most of the atomic built-ins.
Move unsigned implementations to generic to simplify target-specific code.

Similar to PR intel#18328, unsigned variant has the same implementation as
signed variant for most of the atomic built-ins.
Move unsigned implementations to generic to simplify target-specific code.
@wenju-he wenju-he requested a review from a team as a code owner May 19, 2025 09:59
@wenju-he wenju-he requested a review from frasercrmck May 19, 2025 09:59
@wenju-he wenju-he temporarily deployed to WindowsCILock May 19, 2025 09:59 — with GitHub Actions Inactive
@wenju-he wenju-he temporarily deployed to WindowsCILock May 19, 2025 10:26 — with GitHub Actions Inactive
@wenju-he wenju-he temporarily deployed to WindowsCILock May 19, 2025 10:26 — with GitHub Actions Inactive
Copy link
Contributor

@frasercrmck frasercrmck left a comment

Choose a reason for hiding this comment

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

LGTM. I'm a little concerned about the discoverability of the signed vs. unsigned split, and whether developers will intuitively understand why there aren't custom unsigned implementations for AMD, for example. The file name based overriding can be tricky to follow. I don't think this holds up the PR but it might be something to think about.

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