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

#include <sycl/atomic_ref.hpp>

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

Static Public Attributes

static constexpr bool value
 

Detailed Description

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

Definition at line 33 of file atomic_ref.hpp.

Member Data Documentation

◆ value

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

Definition at line 34 of file atomic_ref.hpp.


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