OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap > Struct Template Reference

OffsettedBlockToCTileMap&lt; UnderlyingBlockToCTileMap &gt; Struct Template Reference#

Composable Kernel: ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap > Struct Template Reference
ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap > Struct Template Reference

#include <block_to_ctile_map.hpp>

Public Types

using underlying_type = UnderlyingBlockToCTileMap

Public Member Functions

__host__ __device__ OffsettedBlockToCTileMap ()=default
__host__ __device__ OffsettedBlockToCTileMap (UnderlyingBlockToCTileMap block_to_ctile_map, index_t block_start)
template<typename TopIdx>
__host__ __device__ constexpr auto CalculateBottomIndex (const TopIdx &idx_top) const
template<typename CTileIdx, typename CTileDim>
__host__ __device__ bool ValidCTileIndex (const CTileIdx &c_tile_idx, const CTileDim &c_tile_dim) const
template<typename CGridDesc_M_N>
__host__ constexpr bool CheckValidity (const CGridDesc_M_N &c_grid_desc_m_n) const
template<typename CGridDesc_M_N>
__host__ constexpr index_t CalculateGridSize (const CGridDesc_M_N &c_grid_desc_m_n) const
__host__ __device__ constexpr index_t CalculateGridSize (index_t M, index_t N) const

Public Attributes

UnderlyingBlockToCTileMap block_to_ctile_map_
index_t block_start_

Member Typedef Documentation

◆ underlying_type

template<typename UnderlyingBlockToCTileMap>
using ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::underlying_type = UnderlyingBlockToCTileMap

Constructor & Destructor Documentation

◆ OffsettedBlockToCTileMap() [1/2]

template<typename UnderlyingBlockToCTileMap>
__host__ __device__ ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::OffsettedBlockToCTileMap ( )
default

◆ OffsettedBlockToCTileMap() [2/2]

template<typename UnderlyingBlockToCTileMap>
__host__ __device__ ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::OffsettedBlockToCTileMap ( UnderlyingBlockToCTileMap block_to_ctile_map,
index_t block_start )
inline

Member Function Documentation

◆ CalculateBottomIndex()

template<typename UnderlyingBlockToCTileMap>
template<typename TopIdx>
__host__ __device__ constexpr auto ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::CalculateBottomIndex ( const TopIdx & idx_top) const
inlineconstexpr

◆ CalculateGridSize() [1/2]

template<typename UnderlyingBlockToCTileMap>
template<typename CGridDesc_M_N>
__host__ constexpr index_t ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::CalculateGridSize ( const CGridDesc_M_N & c_grid_desc_m_n) const
inlineconstexpr

◆ CalculateGridSize() [2/2]

template<typename UnderlyingBlockToCTileMap>
__host__ __device__ constexpr index_t ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::CalculateGridSize ( index_t M,
index_t N ) const
inlineconstexpr

◆ CheckValidity()

template<typename UnderlyingBlockToCTileMap>
template<typename CGridDesc_M_N>
__host__ constexpr bool ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::CheckValidity ( const CGridDesc_M_N & c_grid_desc_m_n) const
inlineconstexpr

◆ ValidCTileIndex()

template<typename UnderlyingBlockToCTileMap>
template<typename CTileIdx, typename CTileDim>
__host__ __device__ bool ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::ValidCTileIndex ( const CTileIdx & c_tile_idx,
const CTileDim & c_tile_dim ) const
inline

Member Data Documentation

◆ block_start_

template<typename UnderlyingBlockToCTileMap>
index_t ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::block_start_

◆ block_to_ctile_map_

template<typename UnderlyingBlockToCTileMap>
UnderlyingBlockToCTileMap ck::OffsettedBlockToCTileMap< UnderlyingBlockToCTileMap >::block_to_ctile_map_

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