We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650cc8b commit d62d3c4Copy full SHA for d62d3c4
include/hipSYCL/sycl/libkernel/sscp/atomic_builtins.hpp
@@ -38,7 +38,7 @@ HIPSYCL_BUILTIN void __acpp_atomic_store(T *addr, T x, memory_order order,
38
} else if constexpr (sizeof(T) == 2) {
39
__acpp_sscp_atomic_store_i16(S, order, scope,
40
reinterpret_cast<__acpp_int16 *>(addr),
41
- __builtin_bit_cast(__acpp_int8, x));
+ __builtin_bit_cast(__acpp_int16, x));
42
} else if constexpr (sizeof(T) == 4) {
43
__acpp_sscp_atomic_store_i32(S, order, scope,
44
reinterpret_cast<__acpp_int32 *>(addr),
0 commit comments