BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck > Struct Template Reference

BlockToCTileMap_M00_N0_M01&lt; MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck &gt; Struct Template Reference#

Composable Kernel: ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck > Struct Template Reference
ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck > Struct Template Reference

#include <block_to_ctile_map.hpp>

Public Member Functions

__host__ __device__ constexpr BlockToCTileMap_M00_N0_M01 ()=default
__host__ __device__ constexpr BlockToCTileMap_M00_N0_M01 (const CGridDesc_M_N &c_grid_desc_m_n, index_t M01=1)
__host__ constexpr index_t CalculateGridSize (const CGridDesc_M_N &c_grid_desc_m_n) const
template<typename TopIdx>
__host__ __device__ constexpr auto CalculateBottomIndex (const TopIdx &idx_top) const
template<typename CTileIdx, typename CTileDim>
__host__ __device__ constexpr bool ValidCTileIndex (const CTileIdx &c_tile_idx, const CTileDim &c_tile_dim) const
__host__ constexpr bool CheckValidity (const CGridDesc_M_N &c_grid_desc_m_n) const

Static Public Attributes

static constexpr auto I0 = Number<0>{}
static constexpr auto I1 = Number<1>{}
static constexpr auto I2 = Number<2>{}
static constexpr auto I3 = Number<3>{}

Constructor & Destructor Documentation

◆ BlockToCTileMap_M00_N0_M01() [1/2]

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
__host__ __device__ constexpr ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::BlockToCTileMap_M00_N0_M01 ( )
constexprdefault

◆ BlockToCTileMap_M00_N0_M01() [2/2]

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
__host__ __device__ constexpr ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::BlockToCTileMap_M00_N0_M01 ( const CGridDesc_M_N & c_grid_desc_m_n,
index_t M01 = 1 )
inlineconstexpr

Member Function Documentation

◆ CalculateBottomIndex()

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
template<typename TopIdx>
__host__ __device__ constexpr auto ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::CalculateBottomIndex ( const TopIdx & idx_top) const
inlineconstexpr

◆ CalculateGridSize()

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
__host__ constexpr index_t ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::CalculateGridSize ( const CGridDesc_M_N & c_grid_desc_m_n) const
inlineconstexpr

◆ CheckValidity()

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
__host__ constexpr bool ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::CheckValidity ( const CGridDesc_M_N & c_grid_desc_m_n) const
inlineconstexpr

◆ ValidCTileIndex()

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
template<typename CTileIdx, typename CTileDim>
__host__ __device__ constexpr bool ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::ValidCTileIndex ( const CTileIdx & c_tile_idx,
const CTileDim & c_tile_dim ) const
inlineconstexpr

Member Data Documentation

◆ I0

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
auto ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::I0 = Number<0>{}
staticconstexpr

◆ I1

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
auto ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::I1 = Number<1>{}
staticconstexpr

◆ I2

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
auto ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::I2 = Number<2>{}
staticconstexpr

◆ I3

template<index_t MPerBlock, index_t NPerBlock, typename CGridDesc_M_N, bool DeviceCTileIndexCheck = false>
auto ck::BlockToCTileMap_M00_N0_M01< MPerBlock, NPerBlock, CGridDesc_M_N, DeviceCTileIndexCheck >::I3 = Number<3>{}
staticconstexpr

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