diff --git a/src/tl_templates/cuda/atomic.h b/src/tl_templates/cuda/atomic.h index 46f5813a7..4de1e43d0 100644 --- a/src/tl_templates/cuda/atomic.h +++ b/src/tl_templates/cuda/atomic.h @@ -31,6 +31,10 @@ template <> struct normalize_atomic_type { }; #endif +template <> struct normalize_atomic_type { + using type = unsigned long long; +}; + template TL_DEVICE T1 cuda_cast(T2 val) { return T1(val); }