alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end Class Reference

special implementation to define the end More...

#include <TiledIdxContainer.hpp>

Public Member Functions

constexpr bool operator!= (const_iterator const &other) const
constexpr bool operator!= (const_iterator_end const &other) const
constexpr bool operator== (const_iterator const &other) const
constexpr bool operator== (const_iterator_end const &other) const

Private Member Functions

ALPAKA_FN_ACC const_iterator_end (alpaka::concepts::Vector auto const &extent)
void _ ()
constexpr IdxType operator* () const

Private Attributes

IdxType m_extentSlowDim

Friends

class TiledIdxContainer

Detailed Description

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
class alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end

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 102 of file TiledIdxContainer.hpp.

Constructor & Destructor Documentation

◆ const_iterator_end()

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
ALPAKA_FN_ACC alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end::const_iterator_end ( alpaka::concepts::Vector auto const & extent)
inlineprivate

Definition at line 111 of file TiledIdxContainer.hpp.

Member Function Documentation

◆ _()

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
void alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end::_ ( )
inlineprivate

Definition at line 106 of file TiledIdxContainer.hpp.

◆ operator!=() [1/2]

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
bool alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end::operator!= ( const_iterator const & other) const
inlineconstexpr

Definition at line 137 of file TiledIdxContainer.hpp.

◆ operator!=() [2/2]

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
bool alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end::operator!= ( const_iterator_end const & other) const
inlineconstexpr

Definition at line 127 of file TiledIdxContainer.hpp.

◆ operator*()

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
IdxType alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end::operator* ( ) const
inlineconstexprprivate

Definition at line 116 of file TiledIdxContainer.hpp.

◆ operator==() [1/2]

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
bool alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end::operator== ( const_iterator const & other) const
inlineconstexpr

Definition at line 132 of file TiledIdxContainer.hpp.

◆ operator==() [2/2]

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
bool alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end::operator== ( const_iterator_end const & other) const
inlineconstexpr

Definition at line 122 of file TiledIdxContainer.hpp.

◆ TiledIdxContainer

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
friend class TiledIdxContainer
friend

Definition at line 104 of file TiledIdxContainer.hpp.

Member Data Documentation

◆ m_extentSlowDim

template<alpaka::concepts::IdxRange T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
IdxType alpaka::onAcc::TiledIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end::m_extentSlowDim
private

Definition at line 143 of file TiledIdxContainer.hpp.


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