DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT > Class Template Reference

#include <sycl/accessor.hpp>

Collaboration diagram for sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >:

Classes

class  AccessorSubscript
 

Protected Types

using RefType = detail::const_if_const_AS< AS, DataT > &
 
using ConstRefType = const DataT &
 
using PtrType = detail::const_if_const_AS< AS, DataT > *
 

Static Protected Attributes

constexpr static bool IsPlaceH = IsPlaceholder == access::placeholder::true_t
 
constexpr static access::address_space AS = TargetToAS<AccessTarget>::AS
 
constexpr static bool IsHostBuf = AccessTarget == access::target::host_buffer
 
constexpr static bool IsGlobalBuf
 
constexpr static bool IsConstantBuf
 
constexpr static bool IsAccessAnyWrite
 
constexpr static bool IsAccessReadOnly = AccessMode == access::mode::read
 
constexpr static bool IsAccessReadWrite
 
constexpr static bool IsAccessAtomic = AccessMode == access::mode::atomic
 

Detailed Description

template<typename DataT, int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
class sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >

Definition at line 294 of file accessor.hpp.

Member Typedef Documentation

◆ ConstRefType

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
using sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::ConstRefType = const DataT &
protected

Definition at line 324 of file accessor.hpp.

◆ PtrType

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
using sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::PtrType = detail::const_if_const_AS<AS, DataT> *
protected

Definition at line 325 of file accessor.hpp.

◆ RefType

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
using sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::RefType = detail::const_if_const_AS<AS, DataT> &
protected

Definition at line 323 of file accessor.hpp.

Member Data Documentation

◆ AS

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
constexpr static access::address_space sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::AS = TargetToAS<AccessTarget>::AS
staticconstexprprotected

Definition at line 297 of file accessor.hpp.

◆ IsAccessAnyWrite

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
constexpr static bool sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::IsAccessAnyWrite
staticconstexprprotected
Initial value:
=
class __SYCL_EBO __SYCL_SPECIAL_CLASS __SYCL_TYPE(local_accessor) local_accessor class __SYCL_EBO __SYCL_SPECIAL_CLASS AccessMode
Definition: accessor.hpp:2782

Definition at line 310 of file accessor.hpp.

◆ IsAccessAtomic

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
constexpr static bool sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::IsAccessAtomic = AccessMode == access::mode::atomic
staticconstexprprotected

Definition at line 321 of file accessor.hpp.

◆ IsAccessReadOnly

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
constexpr static bool sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::IsAccessReadOnly = AccessMode == access::mode::read
staticconstexprprotected

Definition at line 316 of file accessor.hpp.

◆ IsAccessReadWrite

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
constexpr static bool sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::IsAccessReadWrite
staticconstexprprotected
Initial value:

Definition at line 318 of file accessor.hpp.

◆ IsConstantBuf

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
constexpr static bool sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::IsConstantBuf
staticconstexprprotected
Initial value:

Definition at line 307 of file accessor.hpp.

◆ IsGlobalBuf

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
constexpr static bool sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::IsGlobalBuf
staticconstexprprotected
Initial value:
=
AccessTarget == access::target::global_buffer

Definition at line 304 of file accessor.hpp.

◆ IsHostBuf

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
constexpr static bool sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::IsHostBuf = AccessTarget == access::target::host_buffer
staticconstexprprotected

Definition at line 299 of file accessor.hpp.

◆ IsPlaceH

template<typename DataT , int Dimensions, access::mode AccessMode, access::target AccessTarget, access::placeholder IsPlaceholder, typename PropertyListT = ext::oneapi::accessor_property_list<>>
constexpr static bool sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, AccessTarget, IsPlaceholder, PropertyListT >::IsPlaceH = IsPlaceholder == access::placeholder::true_t
staticconstexprprotected

Definition at line 296 of file accessor.hpp.


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