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

[SYCL] Move SPIR-V atomic builtins declarations into clang/lib/Sema/SPIRVBuiltins.td #17471

Open
wants to merge 4 commits into
base: sycl
Choose a base branch
from

Conversation

wenju-he
Copy link
Contributor

@wenju-he wenju-he commented Mar 14, 2025

Change scope and memory semantics type from Enum from int, similar as in PR #17438.
volatile/const is removed from function parameter pointer type, to align with SVP-IR and clang/lib/Sema/SPIRVBuiltins.td.

…PIRVBuiltins.td

Change scope and memory semantics type from Enum from int, similar
as in PR intel#17438.
volatile is removed from function parameter pointer type, to align with
SVP-IR and clang/lib/Sema/SPIRVBuiltins.td.
When long long and another type, e.g. long, are used in a same test,
there is error:
sycl/__spirv/spirv_ops.hpp:337:17: note: candidate function not viable: no known conversion from 'long *' to '__global long long *' for 1st argument
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.

1 participant