#include <sycl/accessor.hpp>
Public Member Functions | |
local_ptr< DataT > | get_pointer () const |
Public Member Functions inherited from sycl::_V1::local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder > | |
local_accessor_base () | |
template<int Dims = Dimensions, typename = std::enable_if_t<Dims == 0>> | |
local_accessor_base (handler &, const detail::code_location CodeLoc=detail::code_location::current()) | |
template<int Dims = Dimensions, typename = std::enable_if_t<Dims == 0>> | |
local_accessor_base (handler &, const property_list &propList, const detail::code_location CodeLoc=detail::code_location::current()) | |
template<int Dims = Dimensions, typename = std::enable_if_t<(Dims > 0)>> | |
local_accessor_base (range< Dimensions > AllocationSize, handler &, const detail::code_location CodeLoc=detail::code_location::current()) | |
template<int Dims = Dimensions, typename = std::enable_if_t<(Dims > 0)>> | |
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 |
template<int Dims = Dimensions, typename = std::enable_if_t<(Dims > 0)>> | |
range< Dims > | get_range () const |
template<int Dims = Dimensions, typename = std::enable_if_t<Dims == 0 && (IsAccessAnyWrite || IsAccessReadOnly)>> | |
operator RefType () const | |
template<int Dims = Dimensions, typename = std::enable_if_t<(Dims > 0) && (IsAccessAnyWrite || IsAccessReadOnly)>> | |
RefType | operator[] (id< Dimensions > Index) const |
template<int Dims = Dimensions, typename = std::enable_if_t<Dims == 1 && (IsAccessAnyWrite || IsAccessReadOnly)>> | |
RefType | operator[] (size_t Index) const |
template<int Dims = Dimensions> | |
operator typename std::enable_if_t< Dims==0 &&AccessMode==access::mode::atomic, atomic< DataT, AS >> () const | |
template<int Dims = Dimensions> | |
std::enable_if_t<(Dims > 0) &&AccessMode==access::mode::atomic, atomic< DataT, AS > > | operator[] (id< Dimensions > Index) const |
template<int Dims = Dimensions> | |
std::enable_if_t< Dims==1 &&AccessMode==access::mode::atomic, atomic< DataT, AS > > | operator[] (size_t Index) const |
template<int Dims = Dimensions, typename = std::enable_if_t<(Dims > 1)>> | |
AccessorCommonT::template AccessorSubscript< Dims - 1, local_accessor_base< DataT, Dimensions, AccessMode, IsPlaceholder > > | operator[] (size_t Index) 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_list & | getPropList () 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... | |
Definition at line 2401 of file accessor.hpp.
|
inline |
Definition at line 2419 of file accessor.hpp.