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

#include <sycl/accessor_image.hpp>

Inheritance diagram for sycl::_V1::detail::UnsampledImageAccessorBaseHost:
Collaboration diagram for sycl::_V1::detail::UnsampledImageAccessorBaseHost:

Public Member Functions

 UnsampledImageAccessorBaseHost (sycl::range< 3 > Size, access_mode AccessMode, void *SYCLMemObject, int Dims, int ElemSize, id< 3 > Pitch, image_channel_type ChannelType, image_channel_order ChannelOrder, const property_list &PropertyList={})
 
const sycl::range< 3 > & getSize () const
 
void * getMemoryObject () const
 
detail::AccHostDataTgetAccData ()
 
void * getPtr ()
 
void * getPtr () const
 
int getNumOfDims () const
 
int getElementSize () const
 
id< 3 > getPitch () const
 
image_channel_type getChannelType () const
 
image_channel_order getChannelOrder () const
 
const property_listgetPropList () const
 

Protected Member Functions

 UnsampledImageAccessorBaseHost (const UnsampledImageAccessorImplPtr &Impl)
 
template<class Obj >
decltype(Obj::impl) friend detail::getSyclObjImpl (const Obj &SyclObject)
 
void GDBMethodsAnchor ()
 
template<typename DataT , typename CoordT >
DataT read (const CoordT &Coords) const noexcept
 
template<typename DataT , typename CoordT >
void write (const CoordT &Coords, const DataT &Color) const
 

Protected Attributes

UnsampledImageAccessorImplPtr impl
 

Friends

template<class T >
detail::createSyclObjFromImpl (decltype(T::impl) ImplObj)
 

Detailed Description

Definition at line 75 of file accessor_image.hpp.

Constructor & Destructor Documentation

◆ UnsampledImageAccessorBaseHost() [1/2]

sycl::_V1::detail::UnsampledImageAccessorBaseHost::UnsampledImageAccessorBaseHost ( const UnsampledImageAccessorImplPtr Impl)
inlineprotected

Definition at line 77 of file accessor_image.hpp.

◆ UnsampledImageAccessorBaseHost() [2/2]

sycl::_V1::detail::UnsampledImageAccessorBaseHost::UnsampledImageAccessorBaseHost ( sycl::range< 3 >  Size,
access_mode  AccessMode,
void *  SYCLMemObject,
int  Dims,
int  ElemSize,
id< 3 >  Pitch,
image_channel_type  ChannelType,
image_channel_order  ChannelOrder,
const property_list PropertyList = {} 
)

Definition at line 140 of file accessor.cpp.

References sycl::_V1::AccessMode, and impl.

Member Function Documentation

◆ detail::getSyclObjImpl()

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

◆ GDBMethodsAnchor()

void sycl::_V1::detail::UnsampledImageAccessorBaseHost::GDBMethodsAnchor ( )
inlineprotected

Definition at line 108 of file accessor_image.hpp.

◆ getAccData()

detail::AccHostDataT & sycl::_V1::detail::UnsampledImageAccessorBaseHost::getAccData ( )

Definition at line 157 of file accessor.cpp.

References impl.

◆ getChannelOrder()

image_channel_order sycl::_V1::detail::UnsampledImageAccessorBaseHost::getChannelOrder ( ) const

Definition at line 172 of file accessor.cpp.

References impl.

◆ getChannelType()

image_channel_type sycl::_V1::detail::UnsampledImageAccessorBaseHost::getChannelType ( ) const

Definition at line 169 of file accessor.cpp.

References impl.

◆ getElementSize()

int sycl::_V1::detail::UnsampledImageAccessorBaseHost::getElementSize ( ) const

Definition at line 165 of file accessor.cpp.

References impl.

◆ getMemoryObject()

void * sycl::_V1::detail::UnsampledImageAccessorBaseHost::getMemoryObject ( ) const

Definition at line 154 of file accessor.cpp.

References impl.

◆ getNumOfDims()

int sycl::_V1::detail::UnsampledImageAccessorBaseHost::getNumOfDims ( ) const

Definition at line 164 of file accessor.cpp.

References impl.

◆ getPitch()

id< 3 > sycl::_V1::detail::UnsampledImageAccessorBaseHost::getPitch ( ) const

Definition at line 168 of file accessor.cpp.

References impl.

◆ getPropList()

const property_list & sycl::_V1::detail::UnsampledImageAccessorBaseHost::getPropList ( ) const

Definition at line 151 of file accessor.cpp.

References impl.

◆ getPtr() [1/2]

void * sycl::_V1::detail::UnsampledImageAccessorBaseHost::getPtr ( )

Definition at line 160 of file accessor.cpp.

References impl.

◆ getPtr() [2/2]

void * sycl::_V1::detail::UnsampledImageAccessorBaseHost::getPtr ( ) const

Definition at line 161 of file accessor.cpp.

References impl.

◆ getSize()

const sycl::range< 3 > & sycl::_V1::detail::UnsampledImageAccessorBaseHost::getSize ( ) const

Definition at line 148 of file accessor.cpp.

References impl.

◆ read()

template<typename DataT , typename CoordT >
DataT sycl::_V1::detail::UnsampledImageAccessorBaseHost::read ( const CoordT &  Coords) const
inlineprotectednoexcept

Definition at line 123 of file accessor_image.hpp.

References sycl::_V1::nearest, sycl::_V1::none, and sycl::_V1::unnormalized.

◆ write()

template<typename DataT , typename CoordT >
void sycl::_V1::detail::UnsampledImageAccessorBaseHost::write ( const CoordT &  Coords,
const DataT &  Color 
) const
inlineprotected

Definition at line 136 of file accessor_image.hpp.

References sycl::_V1::detail::imageWriteHostImpl().

Friends And Related Function Documentation

◆ detail::createSyclObjFromImpl

template<class T >
T detail::createSyclObjFromImpl ( decltype(T::impl)  ImplObj)
friend

Member Data Documentation

◆ impl


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