Host image accessor. More...
#include <CL/sycl/accessor.hpp>
Public Member Functions | |
template<typename AllocatorT > | |
accessor (cl::sycl::image< Dimensions, AllocatorT > &Image) | |
template<typename AllocatorT > | |
accessor (cl::sycl::image< Dimensions, AllocatorT > &Image, const property_list &propList) | |
![]() | |
image_accessor (image< Dims, AllocatorT > &ImageRef, int ImageElementSize) | |
image_accessor (image< Dims, AllocatorT > &ImageRef, handler &CommandGroupHandlerRef, int ImageElementSize) | |
bool | operator== (const image_accessor &Rhs) const |
bool | operator!= (const image_accessor &Rhs) const |
__SYCL2020_DEPRECATED ("get_count() is deprecated, please use size() instead") size_t get_count() const | |
size_t | size () const noexcept |
range< Dims > | get_range () const |
DataT | read (const CoordT &Coords) const |
DataT | read (const CoordT &Coords, const sampler &Smpl) const |
void | write (const CoordT &Coords, const DataT &Color) const |
![]() | |
AccessorBaseHost (id< 3 > Offset, range< 3 > AccessRange, range< 3 > MemoryRange, access::mode AccessMode, detail::SYCLMemObjI *SYCLMemObject, int Dims, int ElemSize, int OffsetInBytes=0, bool IsSubBuffer=false) | |
Additional Inherited Members | |
![]() | |
using | value_type = DataT |
using | reference = DataT & |
using | const_reference = const DataT & |
![]() | |
id< 3 > & | getOffset () |
range< 3 > & | getAccessRange () |
range< 3 > & | getMemoryRange () |
void * | getPtr () |
unsigned int | getElemSize () const |
const id< 3 > & | getOffset () const |
const range< 3 > & | getAccessRange () const |
const range< 3 > & | getMemoryRange () const |
void * | getPtr () const |
template<class Obj > | |
decltype(Obj::impl) friend | getSyclObjImpl (const Obj &SyclObject) |
![]() | |
AccessorImplPtr | impl |
Host image accessor.
Available only when accessTarget == access::target::host_image.
Definition at line 2287 of file accessor.hpp.
|
inline |
Definition at line 2293 of file accessor.hpp.
|
inline |
Definition at line 2299 of file accessor.hpp.