We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b32c99f commit 6a721a0Copy full SHA for 6a721a0
libcudacxx/include/cuda/std/__cuda/atomic.h
@@ -83,7 +83,7 @@ struct atomic_ref : public _CUDA_VSTD::__atomic_ref_impl<_Tp, _Sco>
83
84
static constexpr bool is_always_lock_free = sizeof(_Tp) <= 8;
85
86
- _LIBCUDACXX_INLINE_VISIBILITY explicit atomic_ref(_Tp& __ref)
+ _LIBCUDACXX_INLINE_VISIBILITY explicit constexpr atomic_ref(_Tp& __ref)
87
: _CUDA_VSTD::__atomic_ref_impl<_Tp, _Sco>(__ref)
88
{}
89
0 commit comments