#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 963 of file memory.hpp.
using syclcompat::accessor< T, Memory, 2 >::accessor_t = typename memory_t::template accessor_t<2> |
Definition at line 968 of file memory.hpp.
using syclcompat::accessor< T, Memory, 2 >::element_t = typename memory_t::element_t |
Definition at line 966 of file memory.hpp.
using syclcompat::accessor< T, Memory, 2 >::memory_t = detail::memory_traits<Memory, T> |
Definition at line 965 of file memory.hpp.
using syclcompat::accessor< T, Memory, 2 >::pointer_t = typename memory_t::pointer_t |
Definition at line 967 of file memory.hpp.
|
inline |
Definition at line 969 of file memory.hpp.
|
inline |
Definition at line 972 of file memory.hpp.
|
inline |
Definition at line 975 of file memory.hpp.
|
inline |
Definition at line 982 of file memory.hpp.
|
inline |
Definition at line 978 of file memory.hpp.