DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::IsValidAtomicType< T > Struct Template Reference

#include <sycl/atomic.hpp>

Collaboration diagram for sycl::_V1::detail::IsValidAtomicType< T >:

Static Public Attributes

static constexpr bool value
 

Detailed Description

template<typename T>
struct sycl::_V1::detail::IsValidAtomicType< T >

Definition at line 40 of file atomic.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool sycl::_V1::detail::IsValidAtomicType< T >::value
staticconstexpr
Initial value:
=
(std::is_same_v<T, int> || std::is_same_v<T, unsigned int> ||
std::is_same_v<T, long> || std::is_same_v<T, unsigned long> ||
std::is_same_v<T, long long> || std::is_same_v<T, unsigned long long> ||
std::is_same_v<T, float>)

Definition at line 41 of file atomic.hpp.


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