alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::internal::HostViewAccessor< TView > Struct Template Reference

#include <ViewAccessOps.hpp>

+ Inheritance diagram for alpaka::internal::HostViewAccessor< TView >:

Public Member Functions

template<typename TIdx >
ALPAKA_FN_HOST auto at (Vec< Dim, TIdx > index) -> reference
 
template<typename TIdx >
ALPAKA_FN_HOST auto at (Vec< Dim, TIdx > index) const -> const_reference
 
ALPAKA_FN_HOST auto operator* () -> reference
 
ALPAKA_FN_HOST auto operator* () const -> const_reference
 
ALPAKA_FN_HOST auto operator-> () -> pointer
 
ALPAKA_FN_HOST auto operator-> () const -> const_pointer
 
ALPAKA_FN_HOST auto operator[] (Idx i) -> reference
 
ALPAKA_FN_HOST auto operator[] (Idx i) const -> const_reference
 
template<typename TIdx >
ALPAKA_FN_HOST auto operator[] (Vec< Dim, TIdx > index) -> reference
 
template<typename TIdx >
ALPAKA_FN_HOST auto operator[] (Vec< Dim, TIdx > index) const -> const_reference
 
- Public Member Functions inherited from alpaka::internal::BaseViewAccessor< TView >
ALPAKA_FN_HOST auto begin () -> pointer requires(Dim::value==1)
 
ALPAKA_FN_HOST auto begin () const -> const_pointer requires(Dim::value==1)
 
ALPAKA_FN_HOST auto cbegin () const -> const_pointer requires(Dim::value==1)
 
ALPAKA_FN_HOST auto cend () const -> const_pointer requires(Dim::value==1)
 
ALPAKA_FN_HOST auto data () -> pointer
 
ALPAKA_FN_HOST auto data () const -> const_pointer
 
ALPAKA_FN_HOST auto end () -> pointer requires(Dim::value==1)
 
ALPAKA_FN_HOST auto end () const -> const_pointer requires(Dim::value==1)
 
ALPAKA_FN_HOST auto extent (Idx dim) const -> Idx
 
ALPAKA_FN_HOST auto extents () const -> Vec< Dim, Idx >
 
ALPAKA_FN_HOST operator std::span< value_type > ()
 
ALPAKA_FN_HOST operator std::span< value_type const > () const
 
ALPAKA_FN_HOST auto rank () const -> Idx
 
ALPAKA_FN_HOST auto size () const -> Idx requires(Dim::value > 1)
 
ALPAKA_FN_HOST auto size () const -> Idx requires(Dim::value==1)
 

Detailed Description

template<ViewType TView>
struct alpaka::internal::HostViewAccessor< TView >

Definition at line 141 of file ViewAccessOps.hpp.

Member Function Documentation

◆ at() [1/2]

template<ViewType TView>
template<typename TIdx >
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::at ( Vec< Dim, TIdx >  index) -> reference
inline

Definition at line 220 of file ViewAccessOps.hpp.

◆ at() [2/2]

template<ViewType TView>
template<typename TIdx >
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::at ( Vec< Dim, TIdx >  index) const -> const_reference
inline

Definition at line 233 of file ViewAccessOps.hpp.

◆ operator*() [1/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::operator* ( ) -> reference
inline

Definition at line 153 of file ViewAccessOps.hpp.

◆ operator*() [2/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::operator* ( ) const -> const_reference
inline

Definition at line 159 of file ViewAccessOps.hpp.

◆ operator->() [1/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::operator-> ( ) -> pointer
inline

Definition at line 165 of file ViewAccessOps.hpp.

◆ operator->() [2/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::operator-> ( ) const -> const_pointer
inline

Definition at line 171 of file ViewAccessOps.hpp.

◆ operator[]() [1/4]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::operator[] ( Idx  i) -> reference
inline

Definition at line 177 of file ViewAccessOps.hpp.

◆ operator[]() [2/4]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::operator[] ( Idx  i) const -> const_reference
inline

Definition at line 183 of file ViewAccessOps.hpp.

◆ operator[]() [3/4]

template<ViewType TView>
template<typename TIdx >
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::operator[] ( Vec< Dim, TIdx >  index) -> reference
inline

Definition at line 208 of file ViewAccessOps.hpp.

◆ operator[]() [4/4]

template<ViewType TView>
template<typename TIdx >
ALPAKA_FN_HOST auto alpaka::internal::HostViewAccessor< TView >::operator[] ( Vec< Dim, TIdx >  index) const -> const_reference
inline

Definition at line 214 of file ViewAccessOps.hpp.


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