#include <syclcompat/memory.hpp>
Public Types | |
using | element_t = typename std::conditional_t< Memory==memory_region::constant, const T, T > |
using | value_t = typename std::remove_cv_t< T > |
template<size_t Dimension = 1> | |
using | accessor_t = typename std::conditional_t< target==target::local, sycl::local_accessor< T, Dimension >, sycl::accessor< T, Dimension, mode > > |
using | pointer_t = T * |
Static Public Attributes | |
static constexpr sycl::access::address_space | asp |
static constexpr target | target |
static constexpr sycl::access_mode | mode |
static constexpr size_t | type_size = sizeof(T) |
Definition at line 163 of file memory.hpp.
using syclcompat::detail::memory_traits< Memory, T >::accessor_t = typename std::conditional_t<target == target::local, sycl::local_accessor<T, Dimension>, sycl::accessor<T, Dimension, mode> > |
Definition at line 180 of file memory.hpp.
using syclcompat::detail::memory_traits< Memory, T >::element_t = typename std::conditional_t<Memory == memory_region::constant, const T, T> |
Definition at line 175 of file memory.hpp.
using syclcompat::detail::memory_traits< Memory, T >::pointer_t = T * |
Definition at line 184 of file memory.hpp.
using syclcompat::detail::memory_traits< Memory, T >::value_t = typename std::remove_cv_t<T> |
Definition at line 178 of file memory.hpp.
|
staticconstexpr |
Definition at line 165 of file memory.hpp.
|
staticconstexpr |
Definition at line 171 of file memory.hpp.
|
staticconstexpr |
Definition at line 169 of file memory.hpp.
|
staticconstexpr |
Definition at line 174 of file memory.hpp.