Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1dbfc10

Browse files
authoredMay 23, 2025··
[libspirv] Fix atomic_xchg declarations. (#18647)
This fixes build errors seen after #18613 in NativeCPU and AMD.
1 parent 3a37ab3 commit 1dbfc10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎libclc/libspirv/include/libspirv/atomic/atomic_xchg.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9+
#define __SPIRV_FUNCTION __spirv_AtomicExchange
910
#define __SPIRV_FUNCTION_S __spirv_AtomicExchange
1011
#define __SPIRV_FUNCTION_U __spirv_AtomicExchange
1112
#define __SPIRV_INT64_BASE

0 commit comments

Comments
 (0)
Please sign in to comment.