alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::internal::ViewAccessOps< TView > Struct Template Reference

#include <ViewAccessOps.hpp>

+ Inheritance diagram for alpaka::internal::ViewAccessOps< 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 data () -> pointer
 
ALPAKA_FN_HOST auto data () const -> const_pointer
 
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
 

Detailed Description

template<typename TView>
struct alpaka::internal::ViewAccessOps< TView >

Definition at line 35 of file ViewAccessOps.hpp.

Member Function Documentation

◆ at() [1/2]

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

Definition at line 126 of file ViewAccessOps.hpp.

◆ at() [2/2]

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

Definition at line 139 of file ViewAccessOps.hpp.

◆ data() [1/2]

template<typename TView >
ALPAKA_FN_HOST auto alpaka::internal::ViewAccessOps< TView >::data ( ) -> pointer
inline

Definition at line 49 of file ViewAccessOps.hpp.

◆ data() [2/2]

template<typename TView >
ALPAKA_FN_HOST auto alpaka::internal::ViewAccessOps< TView >::data ( ) const -> const_pointer
inline

Definition at line 54 of file ViewAccessOps.hpp.

◆ operator*() [1/2]

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

Definition at line 59 of file ViewAccessOps.hpp.

◆ operator*() [2/2]

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

Definition at line 65 of file ViewAccessOps.hpp.

◆ operator->() [1/2]

template<typename TView >
ALPAKA_FN_HOST auto alpaka::internal::ViewAccessOps< TView >::operator-> ( ) -> pointer
inline

Definition at line 71 of file ViewAccessOps.hpp.

◆ operator->() [2/2]

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

Definition at line 77 of file ViewAccessOps.hpp.

◆ operator[]() [1/4]

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

Definition at line 83 of file ViewAccessOps.hpp.

◆ operator[]() [2/4]

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

Definition at line 89 of file ViewAccessOps.hpp.

◆ operator[]() [3/4]

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

Definition at line 114 of file ViewAccessOps.hpp.

◆ operator[]() [4/4]

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

Definition at line 120 of file ViewAccessOps.hpp.


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