DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::host_sampled_image_accessor< DataT, Dimensions > Class Template Reference

#include <sycl/accessor_image.hpp>

Inheritance diagram for sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >:
Collaboration diagram for sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >:

Public Types

using value_type = const DataT
 
using reference = const DataT &
 
using const_reference = const DataT &
 

Public Member Functions

template<typename AllocatorT >
 host_sampled_image_accessor (sampled_image< Dimensions, AllocatorT > &ImageRef, const property_list &PropList={}, const detail::code_location CodeLoc=detail::code_location::current())
 
 host_sampled_image_accessor (const host_sampled_image_accessor &Rhs)=default
 
 host_sampled_image_accessor (host_sampled_image_accessor &&Rhs)=default
 
host_sampled_image_accessoroperator= (const host_sampled_image_accessor &Rhs)=default
 
host_sampled_image_accessoroperator= (host_sampled_image_accessor &&Rhs)=default
 
 ~host_sampled_image_accessor ()=default
 
bool operator== (const host_sampled_image_accessor &Rhs) const
 
bool operator!= (const host_sampled_image_accessor &Rhs) const
 
template<typename Property >
bool has_property () const noexcept
 
template<typename Property >
Property get_property () const
 
size_t size () const noexcept
 
template<typename CoordT , typename = std::enable_if_t<detail::IsValidSampledCoord2020DataT< Dimensions, CoordT>::value>>
DataT read (const CoordT &Coords) const
 
- Public Member Functions inherited from sycl::_V1::detail::OwnerLessBase< host_sampled_image_accessor< DataT, Dimensions > >
bool ext_oneapi_owner_before (const ext::oneapi::detail::weak_object_base< host_sampled_image_accessor< DataT, Dimensions > > &Other) const noexcept
 Compares the object against a weak object using an owner-based implementation-defined ordering. More...
 
bool ext_oneapi_owner_before (const host_sampled_image_accessor< DataT, Dimensions > &Other) const noexcept
 Compares the object against another object using an owner-based implementation-defined ordering. More...
 

Friends

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

Detailed Description

template<typename DataT, int Dimensions>
class sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >

Definition at line 1220 of file accessor_image.hpp.

Member Typedef Documentation

◆ const_reference

template<typename DataT , int Dimensions>
using sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::const_reference = const DataT &

Definition at line 1235 of file accessor_image.hpp.

◆ reference

template<typename DataT , int Dimensions>
using sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::reference = const DataT &

Definition at line 1234 of file accessor_image.hpp.

◆ value_type

template<typename DataT , int Dimensions>
using sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::value_type = const DataT

Definition at line 1233 of file accessor_image.hpp.

Constructor & Destructor Documentation

◆ host_sampled_image_accessor() [1/3]

template<typename DataT , int Dimensions>
template<typename AllocatorT >
sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::host_sampled_image_accessor ( sampled_image< Dimensions, AllocatorT > &  ImageRef,
const property_list PropList = {},
const detail::code_location  CodeLoc = detail::code_location::current() 
)
inline

Definition at line 1238 of file accessor_image.hpp.

◆ host_sampled_image_accessor() [2/3]

template<typename DataT , int Dimensions>
sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::host_sampled_image_accessor ( const host_sampled_image_accessor< DataT, Dimensions > &  Rhs)
default

◆ host_sampled_image_accessor() [3/3]

template<typename DataT , int Dimensions>
sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::host_sampled_image_accessor ( host_sampled_image_accessor< DataT, Dimensions > &&  Rhs)
default

◆ ~host_sampled_image_accessor()

template<typename DataT , int Dimensions>
sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::~host_sampled_image_accessor ( )
default

Member Function Documentation

◆ get_property()

template<typename DataT , int Dimensions>
template<typename Property >
Property sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::get_property ( ) const
inline

Definition at line 1284 of file accessor_image.hpp.

◆ has_property()

template<typename DataT , int Dimensions>
template<typename Property >
bool sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::has_property ( ) const
inlinenoexcept

Definition at line 1277 of file accessor_image.hpp.

◆ operator!=()

template<typename DataT , int Dimensions>
bool sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::operator!= ( const host_sampled_image_accessor< DataT, Dimensions > &  Rhs) const
inline

Definition at line 1272 of file accessor_image.hpp.

◆ operator=() [1/2]

template<typename DataT , int Dimensions>
host_sampled_image_accessor& sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::operator= ( const host_sampled_image_accessor< DataT, Dimensions > &  Rhs)
default

◆ operator=() [2/2]

template<typename DataT , int Dimensions>
host_sampled_image_accessor& sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::operator= ( host_sampled_image_accessor< DataT, Dimensions > &&  Rhs)
default

◆ operator==()

template<typename DataT , int Dimensions>
bool sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::operator== ( const host_sampled_image_accessor< DataT, Dimensions > &  Rhs) const
inline

Definition at line 1269 of file accessor_image.hpp.

◆ read()

template<typename DataT , int Dimensions>
template<typename CoordT , typename = std::enable_if_t<detail::IsValidSampledCoord2020DataT< Dimensions, CoordT>::value>>
DataT sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::read ( const CoordT &  Coords) const
inline

Definition at line 1300 of file accessor_image.hpp.

◆ size()

template<typename DataT , int Dimensions>
size_t sycl::_V1::host_sampled_image_accessor< DataT, Dimensions >::size ( ) const
inlinenoexcept

Definition at line 1292 of file accessor_image.hpp.

Friends And Related Function Documentation

◆ detail::createSyclObjFromImpl

template<typename DataT , int Dimensions>
template<class T >
T detail::createSyclObjFromImpl ( decltype(T::impl)  ImplObj)
friend

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