#include <detail/accessor_impl.hpp>
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 (id< 3 > Offset, range< 3 > AccessRange, range< 3 > MemoryRange, access::mode AccessMode, void *SYCLMemObject, int Dims, int ElemSize, bool IsPlaceH, int OffsetInBytes=0, bool IsSubBuffer=false, const property_list &PropertyList={}) | |
~AccessorImplHost () | |
AccessorImplHost (const AccessorImplHost &Other) | |
AccessorImplHost & | operator= (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::SYCLMemObjI * | MSYCLMemObj |
unsigned int | MDims |
unsigned int | MElemSize |
unsigned int | MOffsetInBytes |
bool | MIsSubBuffer |
void *& | MData = MAccData.MData |
Command * | MBlockedCmd = nullptr |
bool | PerWI = false |
property_list | MPropertyList |
bool | MIsPlaceH |
Definition at line 42 of file accessor_impl.hpp.
|
inline |
Definition at line 45 of file accessor_impl.hpp.
|
inline |
Definition at line 56 of file accessor_impl.hpp.
sycl::_V1::detail::AccessorImplHost::~AccessorImplHost | ( | ) |
Definition at line 19 of file accessor_impl.cpp.
|
inline |
Definition at line 69 of file accessor_impl.hpp.
|
inline |
Definition at line 76 of file accessor_impl.hpp.
References MAccData, MAccessMode, MDims, MElemSize, MIsPlaceH, MIsSubBuffer, MOffsetInBytes, MPropertyList, and MSYCLMemObj.
void sycl::_V1::detail::AccessorImplHost::resize | ( | size_t | GlobalSize | ) |
Definition at line 27 of file accessor_impl.cpp.
References sycl::_V1::detail::buffer_impl::resize().
Referenced by sycl::_V1::addArgsForGlobalAccessor().
detail::AccHostDataT sycl::_V1::detail::AccessorImplHost::MAccData |
Definition at line 100 of file accessor_impl.hpp.
Referenced by operator=().
access::mode sycl::_V1::detail::AccessorImplHost::MAccessMode |
range<3>& sycl::_V1::detail::AccessorImplHost::MAccessRange = MAccData.MAccessRange |
Definition at line 104 of file accessor_impl.hpp.
Referenced by sycl::_V1::addArgsForGlobalAccessor(), sycl::_V1::detail::doOverlap(), sycl::_V1::detail::AllocaSubBufCommand::emitInstrumentationData(), sycl::_V1::detail::AllocaSubBufCommand::printDot(), and sycl::_V1::detail::SetKernelParamsAndLaunch().
Command* sycl::_V1::detail::AccessorImplHost::MBlockedCmd = nullptr |
Definition at line 118 of file accessor_impl.hpp.
Referenced by sycl::_V1::detail::Scheduler::GraphBuilder::addHostAccessor(), and sycl::_V1::detail::Scheduler::releaseHostAccessor().
void*& sycl::_V1::detail::AccessorImplHost::MData = MAccData.MData |
Definition at line 116 of file accessor_impl.hpp.
Referenced by sycl::_V1::detail::Scheduler::GraphBuilder::addCopyBack(), sycl::_V1::detail::DispatchNativeKernel(), and sycl::_V1::detail::SYCLMemObjT::updateHostMemory().
unsigned int sycl::_V1::detail::AccessorImplHost::MDims |
Definition at line 111 of file accessor_impl.hpp.
Referenced by sycl::_V1::addArgsForGlobalAccessor(), and operator=().
unsigned int sycl::_V1::detail::AccessorImplHost::MElemSize |
Definition at line 112 of file accessor_impl.hpp.
Referenced by sycl::_V1::detail::doOverlap(), and operator=().
bool sycl::_V1::detail::AccessorImplHost::MIsPlaceH |
Definition at line 126 of file accessor_impl.hpp.
Referenced by operator=().
bool sycl::_V1::detail::AccessorImplHost::MIsSubBuffer |
Definition at line 114 of file accessor_impl.hpp.
Referenced by sycl::_V1::detail::IsSuitableSubReq(), operator=(), and sycl::_V1::detail::UpdateHostRequirementCommand::printDot().
range<3>& sycl::_V1::detail::AccessorImplHost::MMemoryRange = MAccData.MMemoryRange |
Definition at line 106 of file accessor_impl.hpp.
Referenced by sycl::_V1::addArgsForGlobalAccessor().
id<3>& sycl::_V1::detail::AccessorImplHost::MOffset = MAccData.MOffset |
Definition at line 102 of file accessor_impl.hpp.
Referenced by sycl::_V1::addArgsForGlobalAccessor().
unsigned int sycl::_V1::detail::AccessorImplHost::MOffsetInBytes |
Definition at line 113 of file accessor_impl.hpp.
Referenced by sycl::_V1::detail::doOverlap(), sycl::_V1::detail::AllocaSubBufCommand::emitInstrumentationData(), sycl::_V1::detail::Scheduler::GraphBuilder::findAllocaForReq(), sycl::_V1::detail::AllocaSubBufCommand::getMemAllocation(), operator=(), and sycl::_V1::detail::AllocaSubBufCommand::printDot().
property_list sycl::_V1::detail::AccessorImplHost::MPropertyList |
Definition at line 123 of file accessor_impl.hpp.
Referenced by operator=().
detail::SYCLMemObjI* sycl::_V1::detail::AccessorImplHost::MSYCLMemObj |
Definition at line 109 of file accessor_impl.hpp.
Referenced by sycl::_V1::detail::Scheduler::GraphBuilder::addCopyBack(), sycl::_V1::detail::Command::addDep(), sycl::_V1::detail::EmptyCommand::emitInstrumentationData(), sycl::_V1::detail::AllocaCommandBase::emitInstrumentationData(), sycl::_V1::detail::Scheduler::enqueueLeavesOfReqUnlocked(), sycl::_V1::detail::Scheduler::GraphBuilder::findAllocaForReq(), sycl::_V1::detail::Scheduler::GraphBuilder::findDepForRecord(), sycl::_V1::detail::Scheduler::getMemObjRecord(), sycl::_V1::detail::Scheduler::GraphBuilder::getOrInsertMemObjRecord(), operator=(), sycl::_V1::detail::AllocaCommand::printDot(), sycl::_V1::detail::AllocaSubBufCommand::printDot(), and sycl::_V1::detail::UpdateHostRequirementCommand::printDot().
bool sycl::_V1::detail::AccessorImplHost::PerWI = false |
Definition at line 120 of file accessor_impl.hpp.
Referenced by sycl::_V1::addArgsForGlobalAccessor().