DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::AccessorBaseHost Class Reference

#include <sycl/accessor.hpp>

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

Public Member Functions

 AccessorBaseHost (id< 3 > Offset, range< 3 > AccessRange, range< 3 > MemoryRange, access::mode AccessMode, void *SYCLMemObject, int Dims, int ElemSize, int OffsetInBytes=0, bool IsSubBuffer=false, const property_list &PropertyList={})
 
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
 
detail::AccHostDataTgetAccData ()
 
const property_listgetPropList () const
 
void * getMemoryObject () const
 
template<class Obj >
decltype(Obj::impl) friend getSyclObjImpl (const Obj &SyclObject)
 

Public Attributes

AccessorImplPtr impl
 

Protected Member Functions

 AccessorBaseHost (const AccessorImplPtr &Impl)
 

Friends

template<typename , int , access::mode , access::target , access::placeholder , typename >
class accessor
 
class sycl::ext::intel::esimd::detail::AccessorPrivateProxy
 
template<class T >
detail::createSyclObjFromImpl (decltype(T::impl) ImplObj)
 

Detailed Description

Definition at line 475 of file accessor.hpp.

Constructor & Destructor Documentation

◆ AccessorBaseHost() [1/2]

sycl::_V1::detail::AccessorBaseHost::AccessorBaseHost ( const AccessorImplPtr Impl)
inlineprotected

Definition at line 477 of file accessor.hpp.

◆ AccessorBaseHost() [2/2]

sycl::_V1::detail::AccessorBaseHost::AccessorBaseHost ( id< 3 >  Offset,
range< 3 >  AccessRange,
range< 3 >  MemoryRange,
access::mode  AccessMode,
void *  SYCLMemObject,
int  Dims,
int  ElemSize,
int  OffsetInBytes = 0,
bool  IsSubBuffer = false,
const property_list PropertyList = {} 
)

Definition at line 19 of file accessor.cpp.

References sycl::_V1::AccessMode.

Member Function Documentation

◆ getAccData()

detail::AccHostDataT & sycl::_V1::detail::AccessorBaseHost::getAccData ( )

Definition at line 36 of file accessor.cpp.

◆ getAccessRange() [1/2]

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

Definition at line 32 of file accessor.cpp.

◆ getAccessRange() [2/2]

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

Definition at line 45 of file accessor.cpp.

◆ getElemSize()

unsigned int sycl::_V1::detail::AccessorBaseHost::getElemSize ( ) const

Definition at line 42 of file accessor.cpp.

◆ getMemoryObject()

void * sycl::_V1::detail::AccessorBaseHost::getMemoryObject ( ) const

Definition at line 55 of file accessor.cpp.

◆ getMemoryRange() [1/2]

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

Definition at line 33 of file accessor.cpp.

◆ getMemoryRange() [2/2]

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

Definition at line 48 of file accessor.cpp.

◆ getOffset() [1/2]

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

Definition at line 31 of file accessor.cpp.

◆ getOffset() [2/2]

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

Definition at line 44 of file accessor.cpp.

◆ getPropList()

const property_list & sycl::_V1::detail::AccessorBaseHost::getPropList ( ) const

Definition at line 38 of file accessor.cpp.

◆ getPtr() [1/2]

void * sycl::_V1::detail::AccessorBaseHost::getPtr ( )

Definition at line 34 of file accessor.cpp.

◆ getPtr() [2/2]

void * sycl::_V1::detail::AccessorBaseHost::getPtr ( ) const

Definition at line 51 of file accessor.cpp.

◆ getSyclObjImpl()

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

Friends And Related Function Documentation

◆ accessor

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

Definition at line 512 of file accessor.hpp.

◆ detail::createSyclObjFromImpl

template<class T >
T detail::createSyclObjFromImpl ( decltype(T::impl)  ImplObj)
friend

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

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

Definition at line 517 of file accessor.hpp.

Member Data Documentation

◆ impl


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