-
Notifications
You must be signed in to change notification settings - Fork 798
Description
Is your feature request related to a problem? Please describe
error: static assertion failed due to requirement 'detail::IsValidAtomicRefType<sycl::vec<sycl::detail::half_impl::half, 2>>::value': Invalid atomic type. Valid types are int, unsigned int, long, unsigned long, long long, unsigned long long, sycl::half, float, double and pointer types
Describe the solution you would like
The float2 and float4 floating-point vector versions of atomicAdd() are only supported by devices of compute capability 9.x and higher. The atomicity of the float2 or float4 add operation is guaranteed separately for each of the two or four float elements; the entire float2 or float4 is not guaranteed to be atomic as a single 64-bit or 128-bit access.
The 16-bit __half floating-point version of atomicAdd() is only supported by devices of compute capability 7.x and higher.
The 16-bit __nv_bfloat16 floating-point version of atomicAdd() is only supported by devices of compute capability 8.x and higher.
The float2 and float4 floating-point vector versions of atomicAdd() are only supported by devices of compute capability 9.x and higher.
The float2 and float4 floating-point vector versions of atomicAdd() are only supported for global memory addresses.
Describe alternatives you have considered
No response
Additional context
No response