alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::MdForwardIterEnd< T_idxType > Class Template Reference

special implementation to define the end More...

#include <MdForwardIter.hpp>

Public Member Functions

constexpr MdForwardIterEnd (alpaka::concepts::IMdSpan auto const &mdSpan)
constexpr bool operator!= (MdForwardIterEnd const &other) const
constexpr auto operator* () const
constexpr bool operator== (MdForwardIterEnd const &other) const

Private Types

using index_type = T_idxType

Private Member Functions

void _ ()

Private Attributes

index_type m_extentSlowDim

Detailed Description

template<typename T_idxType>
class alpaka::MdForwardIterEnd< T_idxType >

special implementation to define the end

Only a scalar value must be stored which reduce the register footprint. The definition of end is that the index is behind or equal to the extent of the slowest moving dimension.

Definition at line 23 of file MdForwardIter.hpp.

Member Typedef Documentation

◆ index_type

template<typename T_idxType>
using alpaka::MdForwardIterEnd< T_idxType >::index_type = T_idxType
private

Definition at line 25 of file MdForwardIter.hpp.

Constructor & Destructor Documentation

◆ MdForwardIterEnd()

template<typename T_idxType>
alpaka::MdForwardIterEnd< T_idxType >::MdForwardIterEnd ( alpaka::concepts::IMdSpan auto const & mdSpan)
inlineconstexpr

Definition at line 33 of file MdForwardIter.hpp.

Member Function Documentation

◆ _()

template<typename T_idxType>
void alpaka::MdForwardIterEnd< T_idxType >::_ ( )
inlineprivate

Definition at line 27 of file MdForwardIter.hpp.

◆ operator!=()

template<typename T_idxType>
bool alpaka::MdForwardIterEnd< T_idxType >::operator!= ( MdForwardIterEnd< T_idxType > const & other) const
inlineconstexpr

Definition at line 48 of file MdForwardIter.hpp.

◆ operator*()

template<typename T_idxType>
auto alpaka::MdForwardIterEnd< T_idxType >::operator* ( ) const
inlineconstexpr

Definition at line 38 of file MdForwardIter.hpp.

◆ operator==()

template<typename T_idxType>
bool alpaka::MdForwardIterEnd< T_idxType >::operator== ( MdForwardIterEnd< T_idxType > const & other) const
inlineconstexpr

Definition at line 43 of file MdForwardIter.hpp.

Member Data Documentation

◆ m_extentSlowDim

template<typename T_idxType>
index_type alpaka::MdForwardIterEnd< T_idxType >::m_extentSlowDim
private

Definition at line 54 of file MdForwardIter.hpp.


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