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

#include <CL/sycl/atomic.hpp>

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

Static Public Attributes

static constexpr bool value

Detailed Description

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

Definition at line 38 of file atomic.hpp.

Member Data Documentation

◆ value

template<typename T >
constexpr bool cl::sycl::detail::IsValidAtomicType< T >::value
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)

Definition at line 39 of file atomic.hpp.

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