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

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

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

Public Member Functions

 LocalAccessorBaseHost (sycl::range< 3 > Size, int Dims, int ElemSize)
 
sycl::range< 3 > & getSize ()
 
const sycl::range< 3 > & getSize () const
 
void * getPtr ()
 
void * getPtr () const
 
int getNumOfDims ()
 
int getElementSize ()
 

Protected Member Functions

template<class Obj >
decltype(Obj::impl) friend getSyclObjImpl (const Obj &SyclObject)
 

Protected Attributes

std::shared_ptr< LocalAccessorImplHostimpl
 

Detailed Description

Definition at line 185 of file accessor_impl.hpp.

Constructor & Destructor Documentation

◆ LocalAccessorBaseHost()

cl::sycl::detail::LocalAccessorBaseHost::LocalAccessorBaseHost ( sycl::range< 3 >  Size,
int  Dims,
int  ElemSize 
)
inline

Definition at line 187 of file accessor_impl.hpp.

Member Function Documentation

◆ getElementSize()

int cl::sycl::detail::LocalAccessorBaseHost::getElementSize ( )
inline

Definition at line 199 of file accessor_impl.hpp.

◆ getNumOfDims()

int cl::sycl::detail::LocalAccessorBaseHost::getNumOfDims ( )
inline

Definition at line 198 of file accessor_impl.hpp.

◆ getPtr() [1/2]

void* cl::sycl::detail::LocalAccessorBaseHost::getPtr ( )
inline

Definition at line 193 of file accessor_impl.hpp.

◆ getPtr() [2/2]

void* cl::sycl::detail::LocalAccessorBaseHost::getPtr ( ) const
inline

Definition at line 194 of file accessor_impl.hpp.

◆ getSize() [1/2]

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

Definition at line 191 of file accessor_impl.hpp.

◆ getSize() [2/2]

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

Definition at line 192 of file accessor_impl.hpp.

◆ getSyclObjImpl()

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

Member Data Documentation

◆ impl

std::shared_ptr<LocalAccessorImplHost> cl::sycl::detail::LocalAccessorBaseHost::impl
protected

Definition at line 205 of file accessor_impl.hpp.


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