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

#include <ViewAccessOps.hpp>

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

Public Member Functions

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::BaseViewAccessor< TView >

Definition at line 43 of file ViewAccessOps.hpp.

Member Function Documentation

◆ begin() [1/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::begin ( ) -> pointer requires(Dim::value == 1)
inline

Definition at line 65 of file ViewAccessOps.hpp.

◆ begin() [2/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::begin ( ) const -> const_pointer requires(Dim::value == 1)
inline

Definition at line 70 of file ViewAccessOps.hpp.

◆ cbegin()

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::cbegin ( ) const -> const_pointer requires(Dim::value == 1)
inline

Definition at line 75 of file ViewAccessOps.hpp.

◆ cend()

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::cend ( ) const -> const_pointer requires(Dim::value == 1)
inline

Definition at line 90 of file ViewAccessOps.hpp.

◆ data() [1/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::data ( ) -> pointer
inline

Definition at line 55 of file ViewAccessOps.hpp.

◆ data() [2/2]

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

Definition at line 60 of file ViewAccessOps.hpp.

◆ end() [1/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::end ( ) -> pointer requires(Dim::value == 1)
inline

Definition at line 80 of file ViewAccessOps.hpp.

◆ end() [2/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::end ( ) const -> const_pointer requires(Dim::value == 1)
inline

Definition at line 85 of file ViewAccessOps.hpp.

◆ extent()

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::extent ( Idx  dim) const -> Idx
inline

Definition at line 110 of file ViewAccessOps.hpp.

◆ extents()

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::extents ( ) const -> Vec< Dim, Idx >

◆ operator std::span< value_type >()

template<ViewType TView>
ALPAKA_FN_HOST alpaka::internal::BaseViewAccessor< TView >::operator std::span< value_type > ( )
inline

Definition at line 128 of file ViewAccessOps.hpp.

◆ operator std::span< value_type const >()

template<ViewType TView>
ALPAKA_FN_HOST alpaka::internal::BaseViewAccessor< TView >::operator std::span< value_type const > ( ) const
inline

Definition at line 123 of file ViewAccessOps.hpp.

◆ rank()

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::rank ( ) const -> Idx
inline

Definition at line 95 of file ViewAccessOps.hpp.

◆ size() [1/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::size ( ) const -> Idx requires(Dim::value > 1)
inline

Definition at line 105 of file ViewAccessOps.hpp.

◆ size() [2/2]

template<ViewType TView>
ALPAKA_FN_HOST auto alpaka::internal::BaseViewAccessor< TView >::size ( ) const -> Idx requires(Dim::value == 1)
inline

Definition at line 100 of file ViewAccessOps.hpp.


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