indexing_adaptor_onshot_cached< IndexingType > Struct Template Reference

indexing_adaptor_onshot_cached&lt; IndexingType &gt; Struct Template Reference#

Composable Kernel: ck_tile::indexing_adaptor_onshot_cached< IndexingType > Struct Template Reference
ck_tile::indexing_adaptor_onshot_cached< IndexingType > Struct Template Reference

#include <indexing_adaptor.hpp>

Public Member Functions

CK_TILE_HOST_DEVICE constexpr indexing_adaptor_onshot_cached ()=default
CK_TILE_HOST_DEVICE constexpr indexing_adaptor_onshot_cached (const IndexingType &idx)
template<typename LowIdx, typename UpIdx>
CK_TILE_HOST_DEVICE constexpr void calculate_lower_index (LowIdx &idx_low, const UpIdx &) const
template<typename LowIdxDiff, typename UpIdxDiff, typename LowIdx, typename UpIdx>
CK_TILE_HOST_DEVICE void update_lower_index (LowIdxDiff &idx_diff_low, const UpIdxDiff &idx_diff_up, LowIdx &, const UpIdx &) const

Static Public Member Functions

static CK_TILE_HOST_DEVICE constexpr bool is_known_at_compile_time ()

Public Attributes

IndexingType cached_idx_

Constructor & Destructor Documentation

◆ indexing_adaptor_onshot_cached() [1/2]

template<typename IndexingType>
CK_TILE_HOST_DEVICE constexpr ck_tile::indexing_adaptor_onshot_cached< IndexingType >::indexing_adaptor_onshot_cached ( )
constexprdefault

◆ indexing_adaptor_onshot_cached() [2/2]

template<typename IndexingType>
CK_TILE_HOST_DEVICE constexpr ck_tile::indexing_adaptor_onshot_cached< IndexingType >::indexing_adaptor_onshot_cached ( const IndexingType & idx)
inlineconstexpr

Member Function Documentation

◆ calculate_lower_index()

template<typename IndexingType>
template<typename LowIdx, typename UpIdx>
CK_TILE_HOST_DEVICE constexpr void ck_tile::indexing_adaptor_onshot_cached< IndexingType >::calculate_lower_index ( LowIdx & idx_low,
const UpIdx &  ) const
inlineconstexpr

◆ is_known_at_compile_time()

template<typename IndexingType>
CK_TILE_HOST_DEVICE constexpr bool ck_tile::indexing_adaptor_onshot_cached< IndexingType >::is_known_at_compile_time ( )
inlinestaticconstexpr

◆ update_lower_index()

template<typename IndexingType>
template<typename LowIdxDiff, typename UpIdxDiff, typename LowIdx, typename UpIdx>
CK_TILE_HOST_DEVICE void ck_tile::indexing_adaptor_onshot_cached< IndexingType >::update_lower_index ( LowIdxDiff & idx_diff_low,
const UpIdxDiff & idx_diff_up,
LowIdx & ,
const UpIdx &  ) const
inline

Member Data Documentation

◆ cached_idx_

template<typename IndexingType>
IndexingType ck_tile::indexing_adaptor_onshot_cached< IndexingType >::cached_idx_

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