DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
cl::sycl::detail::AccessorBaseHost Class Reference

#include <CL/sycl/detail/accessor_impl.hpp>

Inheritance diagram for cl::sycl::detail::AccessorBaseHost:
Collaboration diagram for cl::sycl::detail::AccessorBaseHost:

Public Member Functions

 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)
 

Protected Member Functions

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)
 

Protected Attributes

AccessorImplPtr impl
 

Friends

template<typename , int , access::mode , access::target , access::placeholder , typename >
class accessor
 
class sycl::ext::intel::experimental::esimd::detail::AccessorPrivateProxy
 

Detailed Description

Definition at line 134 of file accessor_impl.hpp.

Constructor & Destructor Documentation

◆ AccessorBaseHost()

cl::sycl::detail::AccessorBaseHost::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 
)
inline

Definition at line 136 of file accessor_impl.hpp.

Member Function Documentation

◆ getAccessRange() [1/2]

range<3>& cl::sycl::detail::AccessorBaseHost::getAccessRange ( )
inlineprotected

Definition at line 147 of file accessor_impl.hpp.

◆ getAccessRange() [2/2]

const range<3>& cl::sycl::detail::AccessorBaseHost::getAccessRange ( ) const
inlineprotected

Definition at line 153 of file accessor_impl.hpp.

◆ getElemSize()

unsigned int cl::sycl::detail::AccessorBaseHost::getElemSize ( ) const
inlineprotected

◆ getMemoryRange() [1/2]

range<3>& cl::sycl::detail::AccessorBaseHost::getMemoryRange ( )
inlineprotected

Definition at line 148 of file accessor_impl.hpp.

◆ getMemoryRange() [2/2]

const range<3>& cl::sycl::detail::AccessorBaseHost::getMemoryRange ( ) const
inlineprotected

Definition at line 154 of file accessor_impl.hpp.

◆ getOffset() [1/2]

id<3>& cl::sycl::detail::AccessorBaseHost::getOffset ( )
inlineprotected

Definition at line 146 of file accessor_impl.hpp.

◆ getOffset() [2/2]

const id<3>& cl::sycl::detail::AccessorBaseHost::getOffset ( ) const
inlineprotected

Definition at line 152 of file accessor_impl.hpp.

◆ getPtr() [1/2]

void* cl::sycl::detail::AccessorBaseHost::getPtr ( )
inlineprotected

Definition at line 149 of file accessor_impl.hpp.

◆ getPtr() [2/2]

void* cl::sycl::detail::AccessorBaseHost::getPtr ( ) const
inlineprotected

Definition at line 155 of file accessor_impl.hpp.

◆ getSyclObjImpl()

template<class Obj >
decltype(Obj::impl) friend cl::sycl::detail::AccessorBaseHost::getSyclObjImpl ( const Obj &  SyclObject)
protected

Friends And Related Function Documentation

◆ accessor

template<typename , int , access::mode , access::target , access::placeholder , typename >
friend class accessor
friend

Definition at line 162 of file accessor_impl.hpp.

◆ sycl::ext::intel::experimental::esimd::detail::AccessorPrivateProxy

friend class sycl::ext::intel::experimental::esimd::detail:: AccessorPrivateProxy
friend

Definition at line 168 of file accessor_impl.hpp.

Member Data Documentation

◆ impl


The documentation for this class was generated from the following file: