#include <syclcompat/memory.hpp>
Public Types | |
using | memory_t = detail::memory_traits< Memory, T > |
using | element_t = typename memory_t::element_t |
using | pointer_t = typename memory_t::pointer_t |
using | accessor_t = typename memory_t::template accessor_t< 2 > |
Public Member Functions | |
accessor (pointer_t data, const sycl::range< 2 > &in_range) | |
template<memory_region Mem = Memory> | |
accessor (typename std::enable_if< Mem !=memory_region::local, const accessor_t >::type &acc) | |
accessor (const accessor_t &acc, const sycl::range< 2 > &in_range) | |
pointer_t | operator[] (size_t index) const |
pointer_t | get_ptr () const |
Definition at line 1086 of file memory.hpp.
using syclcompat::accessor< T, Memory, 2 >::accessor_t = typename memory_t::template accessor_t<2> |
Definition at line 1091 of file memory.hpp.
using syclcompat::accessor< T, Memory, 2 >::element_t = typename memory_t::element_t |
Definition at line 1089 of file memory.hpp.
using syclcompat::accessor< T, Memory, 2 >::memory_t = detail::memory_traits<Memory, T> |
Definition at line 1088 of file memory.hpp.
using syclcompat::accessor< T, Memory, 2 >::pointer_t = typename memory_t::pointer_t |
Definition at line 1090 of file memory.hpp.
|
inline |
Definition at line 1092 of file memory.hpp.
|
inline |
Definition at line 1095 of file memory.hpp.
|
inline |
Definition at line 1098 of file memory.hpp.
|
inline |
Definition at line 1105 of file memory.hpp.
|
inline |
Definition at line 1101 of file memory.hpp.