Skip to content

Conversation

@wenju-he
Copy link
Contributor

@wenju-he wenju-he commented Jan 8, 2026

Previous implementation uses outdated function e.g. __sync_val_compare_and_swap.

Add new __spirv_AtomicFlagClear and __spirv_AtomicFlagTestAndSet builtins.
Add more variants of __spirv_AtomicIDecrement/AtomicIIncrement to libspirv-amdgcn--amdhsa.bc.

Test WorkGroupMemory/reduction_lambda.cpp now passes on native-cpu device.

Previous implementation uses outdated function e.g. __sync_val_compare_and_swap.
@wenju-he wenju-he requested a review from a team as a code owner January 8, 2026 08:12
@wenju-he wenju-he requested a review from againull January 8, 2026 08:12
Copy link
Contributor

@againull againull left a comment

Choose a reason for hiding this comment

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

sycl/test-e2e/WorkGroupMemory/reduction_lambda.cpp change lgtm.

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