#include <sycl/accessor.hpp>
Public Member Functions | |
AccessorBaseHost (id< 3 > Offset, range< 3 > AccessRange, range< 3 > MemoryRange, access::mode AccessMode, void *SYCLMemObject, int Dims, int ElemSize, size_t OffsetInBytes=0, bool IsSubBuffer=false, const property_list &PropertyList={}) | |
AccessorBaseHost (id< 3 > Offset, range< 3 > AccessRange, range< 3 > MemoryRange, access::mode AccessMode, void *SYCLMemObject, int Dims, int ElemSize, bool IsPlaceH, size_t OffsetInBytes=0, bool IsSubBuffer=false, const property_list &PropertyList={}) | |
id< 3 > & | getOffset () |
range< 3 > & | getAccessRange () |
range< 3 > & | getMemoryRange () |
void * | getPtr () noexcept |
unsigned int | getElemSize () const |
const id< 3 > & | getOffset () const |
const range< 3 > & | getAccessRange () const |
const range< 3 > & | getMemoryRange () const |
void * | getPtr () const noexcept |
bool | isPlaceholder () const |
bool | isMemoryObjectUsedByGraph () const |
detail::AccHostDataT & | getAccData () |
const property_list & | getPropList () const |
void * | getMemoryObject () const |
template<class Obj > | |
frienddecltype(Obj::impl) const & | 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 > | |
T | detail::createSyclObjFromImpl (decltype(T::impl) ImplObj) |
Definition at line 516 of file accessor.hpp.
|
inlineprotected |
Definition at line 518 of file accessor.hpp.
sycl::_V1::detail::AccessorBaseHost::AccessorBaseHost | ( | id< 3 > | Offset, |
range< 3 > | AccessRange, | ||
range< 3 > | MemoryRange, | ||
access::mode | AccessMode, | ||
void * | SYCLMemObject, | ||
int | Dims, | ||
int | ElemSize, | ||
size_t | OffsetInBytes = 0 , |
||
bool | IsSubBuffer = false , |
||
const property_list & | PropertyList = {} |
||
) |
Definition at line 26 of file accessor.cpp.
References sycl::_V1::AccessMode, and impl.
sycl::_V1::detail::AccessorBaseHost::AccessorBaseHost | ( | id< 3 > | Offset, |
range< 3 > | AccessRange, | ||
range< 3 > | MemoryRange, | ||
access::mode | AccessMode, | ||
void * | SYCLMemObject, | ||
int | Dims, | ||
int | ElemSize, | ||
bool | IsPlaceH, | ||
size_t | OffsetInBytes = 0 , |
||
bool | IsSubBuffer = false , |
||
const property_list & | PropertyList = {} |
||
) |
Definition at line 38 of file accessor.cpp.
References sycl::_V1::AccessMode, and impl.
detail::AccHostDataT & sycl::_V1::detail::AccessorBaseHost::getAccData | ( | ) |
Definition at line 55 of file accessor.cpp.
References impl.
range< 3 > & sycl::_V1::detail::AccessorBaseHost::getAccessRange | ( | ) |
Definition at line 51 of file accessor.cpp.
References impl.
Referenced by sycl::_V1::handler::fill(), sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >::get_range(), and sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >::read().
const range< 3 > & sycl::_V1::detail::AccessorBaseHost::getAccessRange | ( | ) | const |
Definition at line 64 of file accessor.cpp.
References impl.
unsigned int sycl::_V1::detail::AccessorBaseHost::getElemSize | ( | ) | const |
Definition at line 61 of file accessor.cpp.
References impl.
Referenced by sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >::read(), and sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >::write().
void * sycl::_V1::detail::AccessorBaseHost::getMemoryObject | ( | ) | const |
Definition at line 74 of file accessor.cpp.
References impl.
range< 3 > & sycl::_V1::detail::AccessorBaseHost::getMemoryRange | ( | ) |
Definition at line 52 of file accessor.cpp.
References impl.
Referenced by sycl::_V1::handler::fill().
const range< 3 > & sycl::_V1::detail::AccessorBaseHost::getMemoryRange | ( | ) | const |
Definition at line 67 of file accessor.cpp.
References impl.
id< 3 > & sycl::_V1::detail::AccessorBaseHost::getOffset | ( | ) |
Definition at line 50 of file accessor.cpp.
References impl.
Referenced by sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >::read(), and sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >::write().
const id< 3 > & sycl::_V1::detail::AccessorBaseHost::getOffset | ( | ) | const |
Definition at line 63 of file accessor.cpp.
References impl.
const property_list & sycl::_V1::detail::AccessorBaseHost::getPropList | ( | ) | const |
Definition at line 57 of file accessor.cpp.
References impl.
|
noexcept |
Definition at line 70 of file accessor.cpp.
References impl.
|
noexcept |
Definition at line 53 of file accessor.cpp.
References impl.
Referenced by sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >::read(), and sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >::write().
frienddecltype(Obj::impl) const& sycl::_V1::detail::AccessorBaseHost::getSyclObjImpl | ( | const Obj & | SyclObject | ) |
bool sycl::_V1::detail::AccessorBaseHost::isMemoryObjectUsedByGraph | ( | ) | const |
Definition at line 78 of file accessor.cpp.
References impl.
bool sycl::_V1::detail::AccessorBaseHost::isPlaceholder | ( | ) | const |
Definition at line 76 of file accessor.cpp.
References impl.
|
friend |
Definition at line 561 of file accessor.hpp.
|
friend |
|
friend |
Definition at line 566 of file accessor.hpp.
AccessorImplPtr sycl::_V1::detail::AccessorBaseHost::impl |
Definition at line 563 of file accessor.hpp.
Referenced by AccessorBaseHost(), getAccData(), getAccessRange(), getElemSize(), getMemoryObject(), getMemoryRange(), getOffset(), getPropList(), getPtr(), isMemoryObjectUsedByGraph(), isPlaceholder(), and sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >::operator==().