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

#include <detail/accessor_impl.hpp>

Collaboration diagram for sycl::_V1::detail::AccessorImplHost:

Public Member Functions

 AccessorImplHost (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={})
 
 ~AccessorImplHost ()
 
 AccessorImplHost (const AccessorImplHost &Other)
 
AccessorImplHostoperator= (const AccessorImplHost &Other)
 
void resize (size_t GlobalSize)
 

Public Attributes

detail::AccHostDataT MAccData
 
id< 3 > & MOffset = MAccData.MOffset
 
range< 3 > & MAccessRange = MAccData.MAccessRange
 
range< 3 > & MMemoryRange = MAccData.MMemoryRange
 
access::mode MAccessMode
 
detail::SYCLMemObjIMSYCLMemObj
 
unsigned int MDims
 
unsigned int MElemSize
 
unsigned int MOffsetInBytes
 
bool MIsSubBuffer
 
void *& MData = MAccData.MData
 
CommandMBlockedCmd = nullptr
 
bool PerWI = false
 
property_list MPropertyList
 

Detailed Description

Definition at line 42 of file accessor_impl.hpp.

Constructor & Destructor Documentation

◆ AccessorImplHost() [1/2]

sycl::_V1::detail::AccessorImplHost::AccessorImplHost ( 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 = {} 
)
inline

Definition at line 44 of file accessor_impl.hpp.

◆ ~AccessorImplHost()

sycl::_V1::detail::AccessorImplHost::~AccessorImplHost ( )

Definition at line 19 of file accessor_impl.cpp.

◆ AccessorImplHost() [2/2]

sycl::_V1::detail::AccessorImplHost::AccessorImplHost ( const AccessorImplHost Other)
inline

Definition at line 56 of file accessor_impl.hpp.

Member Function Documentation

◆ operator=()

AccessorImplHost& sycl::_V1::detail::AccessorImplHost::operator= ( const AccessorImplHost Other)
inline

◆ resize()

void sycl::_V1::detail::AccessorImplHost::resize ( size_t  GlobalSize)

Member Data Documentation

◆ MAccData

detail::AccHostDataT sycl::_V1::detail::AccessorImplHost::MAccData

Definition at line 85 of file accessor_impl.hpp.

Referenced by operator=().

◆ MAccessMode

◆ MAccessRange

◆ MBlockedCmd

Command* sycl::_V1::detail::AccessorImplHost::MBlockedCmd = nullptr

◆ MData

void*& sycl::_V1::detail::AccessorImplHost::MData = MAccData.MData

◆ MDims

unsigned int sycl::_V1::detail::AccessorImplHost::MDims

◆ MElemSize

unsigned int sycl::_V1::detail::AccessorImplHost::MElemSize

◆ MIsSubBuffer

bool sycl::_V1::detail::AccessorImplHost::MIsSubBuffer

◆ MMemoryRange

range<3>& sycl::_V1::detail::AccessorImplHost::MMemoryRange = MAccData.MMemoryRange

◆ MOffset

id<3>& sycl::_V1::detail::AccessorImplHost::MOffset = MAccData.MOffset

◆ MOffsetInBytes

◆ MPropertyList

property_list sycl::_V1::detail::AccessorImplHost::MPropertyList

Definition at line 108 of file accessor_impl.hpp.

Referenced by sycl::_V1::detail::getInternalizationInfo(), and operator=().

◆ MSYCLMemObj

◆ PerWI

bool sycl::_V1::detail::AccessorImplHost::PerWI = false

Definition at line 105 of file accessor_impl.hpp.

Referenced by sycl::_V1::addArgsForGlobalAccessor().


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