DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::accessor< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder > Class Template Reference

#include <sycl/accessor.hpp>

Inheritance diagram for sycl::_V1::accessor< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder >:
Collaboration diagram for sycl::_V1::accessor< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder >:

Additional Inherited Members

- Public Types inherited from sycl::_V1::local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder >
using value_type = DataT
 
using reference = DataT &
 
using const_reference = const DataT &
 
- Public Member Functions inherited from sycl::_V1::local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder >
 local_accessor_base (handler &, const detail::code_location CodeLoc=detail::code_location::current())
 
 local_accessor_base (handler &, const property_list &propList, const detail::code_location CodeLoc=detail::code_location::current())
 
 local_accessor_base (range< Dimensions > AllocationSize, handler &, const detail::code_location CodeLoc=detail::code_location::current())
 
 local_accessor_base (range< Dimensions > AllocationSize, handler &, const property_list &propList, const detail::code_location CodeLoc=detail::code_location::current())
 
size_t get_size () const
 
 __SYCL2020_DEPRECATED ("get_count() is deprecated, please use size() instead") size_t get_count() const
 
size_t size () const noexcept
 
range< Dims > get_range () const
 
 operator RefType () const
 
RefType operator[] (id< Dimensions > Index) const
 
RefType operator[] (size_t Index) const
 
std::enable_if_t<(Dims > 0) &&AccessMode==access::mode::atomic, atomic< DataT, AS > > operator[] (id< Dimensions > Index) const
 
std::enable_if_t< Dims==1 &&AccessMode==access::mode::atomic, atomic< DataT, AS > > operator[] (size_t Index) const
 
AccessorCommonT::template AccessorSubscript< Dims - 1, local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder > > operator[] (size_t Index) const
 
 operator typename std::enable_if_t< Dims==0 &&AccessMode==access::mode::atomic, atomic< DataT, AS >> () const
 
local_ptr< DataT > get_pointer () const
 
bool operator== (const local_accessor_base &Rhs) const
 
bool operator!= (const local_accessor_base &Rhs) const
 
- Public Member Functions inherited from sycl::_V1::detail::LocalAccessorBaseHost
 LocalAccessorBaseHost (sycl::range< 3 > Size, int Dims, int ElemSize, const property_list &PropertyList={})
 
sycl::range< 3 > & getSize ()
 
const sycl::range< 3 > & getSize () const
 
void * getPtr ()
 
void * getPtr () const
 
int getNumOfDims ()
 
int getElementSize ()
 
const property_listgetPropList () const
 
- Public Member Functions inherited from sycl::_V1::detail::OwnerLessBase< accessor< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder > >
bool ext_oneapi_owner_before (const ext::oneapi::detail::weak_object_base< accessor< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder > > &Other) const noexcept
 Compares the object against a weak object using an owner-based implementation-defined ordering. More...
 
bool ext_oneapi_owner_before (const accessor< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder > &Other) const noexcept
 Compares the object against another object using an owner-based implementation-defined ordering. More...
 
- Protected Types inherited from sycl::_V1::local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder >
using AccessorCommonT = detail::accessor_common< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder >
 
using AccessorSubscript = typename AccessorCommonT::template AccessorSubscript< Dims, local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder > >
 
using ConcreteASPtrType = typename detail::DecoratedType< DataT, AS >::type *
 
using RefType = detail::const_if_const_AS< AS, DataT > &
 
using PtrType = detail::const_if_const_AS< AS, DataT > *
 
- Protected Types inherited from sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder >
using RefType = detail::const_if_const_AS< AS, DataT > &
 
using ConstRefType = const DataT &
 
using PtrType = detail::const_if_const_AS< AS, DataT > *
 
- Protected Member Functions inherited from sycl::_V1::local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder >
 local_accessor_base (const detail::LocalAccessorImplPtr &Impl)
 
PtrType getQualifiedPtr () const
 
void * getPtr ()
 
void * getPtr () const
 
const range< 3 > & getSize () const
 
range< 3 > & getSize ()
 
void GDBMethodsAnchor ()
 
size_t getLinearIndex (id< Dims > Id) const
 
- Protected Member Functions inherited from sycl::_V1::detail::LocalAccessorBaseHost
 LocalAccessorBaseHost (const LocalAccessorImplPtr &Impl)
 
template<class Obj >
decltype(Obj::impl) friend getSyclObjImpl (const Obj &SyclObject)
 
- Protected Attributes inherited from sycl::_V1::local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder >
char padding [sizeof(detail::LocalAccessorBaseDevice< AdjustedDim >)+sizeof(PtrType) - sizeof(detail::LocalAccessorBaseHost)]
 
- Protected Attributes inherited from sycl::_V1::detail::LocalAccessorBaseHost
LocalAccessorImplPtr impl
 
- Static Protected Attributes inherited from sycl::_V1::local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder >
constexpr static int AdjustedDim
 
- Static Protected Attributes inherited from sycl::_V1::detail::accessor_common< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder >
constexpr static bool IsPlaceH
 
constexpr static access::address_space AS
 
constexpr static bool IsHostBuf
 
constexpr static bool IsGlobalBuf
 
constexpr static bool IsConstantBuf
 
constexpr static bool IsAccessAnyWrite
 
constexpr static bool IsAccessReadOnly
 
constexpr static bool IsAccessReadWrite
 
constexpr static bool IsAccessAtomic
 

Detailed Description

template<typename DataT, int Dimensions, access::mode AccessMode, access::placeholder IsPlaceholder>
class sycl::_V1::accessor< DataT, Dimensions, AccessMode, access::target::local, IsPlaceholder >

Definition at line 2648 of file accessor.hpp.


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