#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 126 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 143 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 138 of file memory.hpp.
using syclcompat::detail::memory_traits< Memory, T >::pointer_t = T * |
Definition at line 147 of file memory.hpp.
using syclcompat::detail::memory_traits< Memory, T >::value_t = typename std::remove_cv_t<T> |
Definition at line 141 of file memory.hpp.
|
staticconstexpr |
Definition at line 128 of file memory.hpp.
|
staticconstexpr |
Definition at line 134 of file memory.hpp.
|
staticconstexpr |
Definition at line 132 of file memory.hpp.
|
staticconstexpr |
Definition at line 137 of file memory.hpp.