File tree Expand file tree Collapse file tree
common/cuda_hip/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ GKO_BIND_ATOMIC_ADD(__nv_bfloat16);
165165
166166
167167#if defined(__CUDA_ARCH__) && __CUDA_ARCH__ < 700
168- #define GKO_BIND_UNSUPPORT_ATOMIC_ADD (ValueType ) \
168+ #define GKO_BIND_UNSUPPORTED_ATOMIC_ADD (ValueType ) \
169169 __forceinline__ __device__ ValueType atomic_add ( \
170170 ValueType* __restrict__ addr, ValueType val) \
171171 { \
@@ -177,12 +177,12 @@ GKO_BIND_ATOMIC_ADD(__nv_bfloat16);
177177// have compile time guard from host side. Providing an unsupported
178178// implementation for atomic operation. This is only for the compilation purpose
179179// and the implementation should not rely on this to throw an error.
180- GKO_BIND_UNSUPPORT_ATOMIC_ADD (__half);
180+ GKO_BIND_UNSUPPORTED_ATOMIC_ADD (__half);
181181// compute capability 7.x and higher already supported 16-bit atomicCAS, so
182182// __nv_bfloat16 can also rely on it before compute capability 8.x.
183- GKO_BIND_UNSUPPORT_ATOMIC_ADD (__nv_bfloat16);
183+ GKO_BIND_UNSUPPORTED_ATOMIC_ADD (__nv_bfloat16);
184184
185- #undef GKO_BIND_UNSUPPORT_ATOMIC_ADD
185+ #undef GKO_BIND_UNSUPPORTED_ATOMIC_ADD
186186#endif // defined(__CUDA_ARCH__) && __CUDA_ARCH__ < 700
187187
188188#if !(defined(__CUDA_ARCH__) && (__CUDA_ARCH__ < 600))
You can’t perform that action at this time.
0 commit comments