Skip to content

Commit 0e83b80

Browse files
committed
fix typo
1 parent cb2d8b6 commit 0e83b80

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

common/cuda_hip/components/atomic.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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))

0 commit comments

Comments
 (0)