OffsettedBlockToCTileMap2< UnderlyingBlockToCTileMap > Struct Template Reference

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

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

#include <block_to_ctile_map.hpp>

Public Types

using underlying_type = UnderlyingBlockToCTileMap

Public Member Functions

__host__ __device__ OffsettedBlockToCTileMap2 (UnderlyingBlockToCTileMap block_to_ctile_map, index_t group_offset, index_t tile_offset)
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
__host__ __device__ constexpr index_t CalculateGridSize (index_t M, index_t N) const
__device__ void UpdateTileOffset (index_t offset)

Public Attributes

UnderlyingBlockToCTileMap block_to_ctile_map_
index_t group_offset_
index_t tile_offset_

Member Typedef Documentation

◆ underlying_type

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

Constructor & Destructor Documentation

◆ OffsettedBlockToCTileMap2()

template<typename UnderlyingBlockToCTileMap>
__host__ __device__ ck::OffsettedBlockToCTileMap2< UnderlyingBlockToCTileMap >::OffsettedBlockToCTileMap2 ( UnderlyingBlockToCTileMap block_to_ctile_map,
index_t group_offset,
index_t tile_offset )
inline

Member Function Documentation

◆ CalculateBottomIndex()

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

◆ CalculateGridSize()

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

◆ CheckValidity()

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

◆ UpdateTileOffset()

template<typename UnderlyingBlockToCTileMap>
__device__ void ck::OffsettedBlockToCTileMap2< UnderlyingBlockToCTileMap >::UpdateTileOffset ( index_t offset)
inline

◆ ValidCTileIndex()

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

Member Data Documentation

◆ block_to_ctile_map_

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

◆ group_offset_

template<typename UnderlyingBlockToCTileMap>
index_t ck::OffsettedBlockToCTileMap2< UnderlyingBlockToCTileMap >::group_offset_

◆ tile_offset_

template<typename UnderlyingBlockToCTileMap>
index_t ck::OffsettedBlockToCTileMap2< UnderlyingBlockToCTileMap >::tile_offset_

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