|
template<typename AllocatorT , int Dims = Dimensions, typename = std::enable_if_t<(Dims > 0 && Dims <= 3) && IsHostImageAcc>> |
| image_accessor (image< Dims, AllocatorT > &ImageRef, int ImageElementSize) |
|
template<typename AllocatorT , int Dims = Dimensions, typename = std::enable_if_t<(Dims > 0 && Dims <= 3) && IsImageAcc>> |
| image_accessor (image< Dims, AllocatorT > &ImageRef, handler &CommandGroupHandlerRef, int ImageElementSize) |
|
bool | operator== (const image_accessor &Rhs) const |
|
bool | operator!= (const image_accessor &Rhs) const |
|
| __SYCL2020_DEPRECATED ("get_count() is deprecated, please use size() instead") size_t get_count() const |
|
size_t | size () const noexcept |
|
template<int Dims = Dimensions, typename = std::enable_if_t<(Dims > 0)>> |
range< Dims > | get_range () const |
|
template<typename CoordT , int Dims = Dimensions, typename = std::enable_if_t< (Dims > 0) && (IsValidCoordDataT<Dims, CoordT>::value) && (detail::is_genint_v<CoordT>) && ((IsImageAcc && IsImageAccessReadOnly) || (IsHostImageAcc && IsImageAccessAnyRead))>> |
DataT | read (const CoordT &Coords) const |
|
template<typename CoordT , int Dims = Dimensions, typename = std::enable_if_t< (Dims > 0) && (IsValidCoordDataT<Dims, CoordT>::value) && ((IsImageAcc && IsImageAccessReadOnly) || (IsHostImageAcc && IsImageAccessAnyRead))>> |
DataT | read (const CoordT &Coords, const sampler &Smpl) const |
|
template<typename CoordT , int Dims = Dimensions, typename = std::enable_if_t<(Dims > 0) && (detail::is_genint_v<CoordT>) && (IsValidCoordDataT<Dims, CoordT>::value) && ((IsImageAcc && IsImageAccessWriteOnly) || (IsHostImageAcc && IsImageAccessAnyWrite))>> |
void | write (const CoordT &Coords, const DataT &Color) const |
|
| 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) |
|
template<typename DataT, int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder>
class sycl::_V1::detail::image_accessor< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder >
Definition at line 210 of file accessor_image.hpp.
template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder>
template<typename CoordT , int Dims = Dimensions, typename = std::enable_if_t< (Dims > 0) && (IsValidCoordDataT<Dims, CoordT>::value) && (detail::is_genint_v<CoordT>) && ((IsImageAcc && IsImageAccessReadOnly) || (IsHostImageAcc && IsImageAccessAnyRead))>>
template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder>
template<typename CoordT , int Dims = Dimensions, typename = std::enable_if_t< (Dims > 0) && (IsValidCoordDataT<Dims, CoordT>::value) && ((IsImageAcc && IsImageAccessReadOnly) || (IsHostImageAcc && IsImageAccessAnyRead))>>
template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder>
template<typename CoordT , int Dims = Dimensions, typename = std::enable_if_t<(Dims > 0) && (detail::is_genint_v<CoordT>) && (IsValidCoordDataT<Dims, CoordT>::value) && ((IsImageAcc && IsImageAccessWriteOnly) || (IsHostImageAcc && IsImageAccessAnyWrite))>>
template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder>
template<typename T1 , int T2, access::mode T3, access::placeholder T4>