RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
Static Public Attributes | List of all members
RAJA::detail::builtin_useCAS< T > Struct Template Reference

#include <atomic_builtin.hpp>

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
struct RAJA::detail::builtin_useCAS< T >

Type trait for determining if the operator should be implemented using a compare and swap loop

Member Data Documentation

◆ value

template<typename T >
constexpr bool RAJA::detail::builtin_useCAS< T >::value
staticconstexpr
Initial value:
=
!std::is_integral<T>::value && !std::is_enum<T>::value &&
(sizeof(T) == 1 || sizeof(T) == 2 || sizeof(T) == 4 || sizeof(T) == 8)

The documentation for this struct was generated from the following file: