libcudacxx icon indicating copy to clipboard operation
libcudacxx copied to clipboard

Don't provide `atomic` wait/notify for < SM70

Open brycelelbach opened this issue 3 years ago • 0 comments

Today, we #if away atomic_flag's wait/notify API for < SM70, but we don't do the same for atomic. We should be consistent here.

We should also consider whether #if away is the right solution. The C++ committee decided to prefer declaring, but not defining methods that can't be supported in freestanding; this makes metaprogramming/SFINAE a little more sane and consistent. We should consider this option.

brycelelbach avatar Mar 29 '21 17:03 brycelelbach