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

#include <sycl/accessor.hpp>

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

Public Member Functions

 LocalAccessorBaseHost (sycl::range< 3 > Size, int Dims, int ElemSize, const property_list &PropertyList={})
 
sycl::range< 3 > & getSize ()
 
const sycl::range< 3 > & getSize () const
 
void * getPtr ()
 
void * getPtr () const
 
int getNumOfDims ()
 
int getElementSize ()
 
const property_listgetPropList () const
 

Protected Member Functions

 LocalAccessorBaseHost (const LocalAccessorImplPtr &Impl)
 
template<class Obj >
decltype(Obj::impl) friend detail::getSyclObjImpl (const Obj &SyclObject)
 

Protected Attributes

LocalAccessorImplPtr impl
 

Friends

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

Detailed Description

Definition at line 603 of file accessor.hpp.

Constructor & Destructor Documentation

◆ LocalAccessorBaseHost() [1/2]

sycl::_V1::detail::LocalAccessorBaseHost::LocalAccessorBaseHost ( const LocalAccessorImplPtr Impl)
inlineprotected

Definition at line 605 of file accessor.hpp.

◆ LocalAccessorBaseHost() [2/2]

sycl::_V1::detail::LocalAccessorBaseHost::LocalAccessorBaseHost ( sycl::range< 3 >  Size,
int  Dims,
int  ElemSize,
const property_list PropertyList = {} 
)

Definition at line 107 of file accessor.cpp.

References impl.

Member Function Documentation

◆ detail::getSyclObjImpl()

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

◆ getElementSize()

int sycl::_V1::detail::LocalAccessorBaseHost::getElementSize ( )

Definition at line 137 of file accessor.cpp.

References impl.

◆ getNumOfDims()

int sycl::_V1::detail::LocalAccessorBaseHost::getNumOfDims ( )

Definition at line 136 of file accessor.cpp.

References impl.

◆ getPropList()

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

Definition at line 132 of file accessor.cpp.

References impl.

◆ getPtr() [1/2]

◆ getPtr() [2/2]

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

Definition at line 121 of file accessor.cpp.

References impl.

◆ getSize() [1/2]

sycl::range< 3 > & sycl::_V1::detail::LocalAccessorBaseHost::getSize ( )

◆ getSize() [2/2]

const sycl::range< 3 > & sycl::_V1::detail::LocalAccessorBaseHost::getSize ( ) const

Definition at line 114 of file accessor.cpp.

References impl.

Friends And Related Function Documentation

◆ detail::createSyclObjFromImpl

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

Member Data Documentation

◆ impl


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