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

special implementation to define the end More...

#include <FlatIdxContainer.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 (IdxType const &end)
void _ ()
constexpr IdxType operator* () const

Private Attributes

IdxType m_extentSlowDim

Friends

class FlatIdxContainer

Detailed Description

template<typename T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
class alpaka::onAcc::FlatIdxContainer< 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 64 of file FlatIdxContainer.hpp.

Constructor & Destructor Documentation

◆ const_iterator_end()

template<typename T_IdxRange, typename T_ThreadSpace, typename T_IdxMapperFn, alpaka::concepts::CVector T_CSelect>
ALPAKA_FN_ACC alpaka::onAcc::FlatIdxContainer< T_IdxRange, T_ThreadSpace, T_IdxMapperFn, T_CSelect >::const_iterator_end::const_iterator_end ( IdxType const & end)
inlineprivate

Definition at line 74 of file FlatIdxContainer.hpp.

Member Function Documentation

◆ _()

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

Definition at line 68 of file FlatIdxContainer.hpp.

◆ operator!=() [1/2]

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

Definition at line 99 of file FlatIdxContainer.hpp.

◆ operator!=() [2/2]

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

Definition at line 89 of file FlatIdxContainer.hpp.

◆ operator*()

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

Definition at line 78 of file FlatIdxContainer.hpp.

◆ operator==() [1/2]

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

Definition at line 94 of file FlatIdxContainer.hpp.

◆ operator==() [2/2]

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

Definition at line 84 of file FlatIdxContainer.hpp.

◆ FlatIdxContainer

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

Definition at line 66 of file FlatIdxContainer.hpp.

Member Data Documentation

◆ m_extentSlowDim

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

Definition at line 105 of file FlatIdxContainer.hpp.


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