TrivialPageBlockNavigator< TensorView > Struct Template Reference

TrivialPageBlockNavigator&lt; TensorView &gt; Struct Template Reference#

Composable Kernel: ck_tile::TrivialPageBlockNavigator< TensorView > Struct Template Reference
ck_tile::TrivialPageBlockNavigator< TensorView > Struct Template Reference

#include <page_block_navigator.hpp>

Public Types

using DataType = typename TensorView::DataType
using WindowOrigin = multi_index<2>

Public Member Functions

CK_TILE_HOST_DEVICE constexpr TrivialPageBlockNavigator (const TensorView &tensor_view_)
template<typename WindowLengths>
CK_TILE_HOST_DEVICE constexpr auto make_tile_window (const WindowLengths &window_lengths, const WindowOrigin &window_origin) const
template<typename WindowLengths, typename TileDistribution>
CK_TILE_HOST_DEVICE constexpr auto make_tile_window (const WindowLengths &window_lengths, const WindowOrigin &window_origin, const TileDistribution &tile_distribution) const
template<typename TileWindow>
CK_TILE_HOST_DEVICE index_t move_tile_window (index_t, TileWindow &tile_window, const typename remove_cvref_t< TileWindow >::BottomTensorIndex &step, index_t) const
template<typename TileWindow>
CK_TILE_HOST_DEVICE index_t prefetch_table_id (index_t, TileWindow, const typename remove_cvref_t< TileWindow >::BottomTensorIndex &) const

Static Public Member Functions

template<typename TileWindow>
static CK_TILE_HOST_DEVICE index_t move_tile_window (index_t, TileWindow &tile_window, const typename remove_cvref_t< TileWindow >::BottomTensorIndex &step)
static CK_TILE_HOST_DEVICE constexpr WindowOrigin to_local_window_origin (const WindowOrigin &global_window_origin)
static CK_TILE_HOST_DEVICE constexpr WindowOrigin to_global_window_origin (index_t, const WindowOrigin &local_window_origin)

Member Typedef Documentation

◆ DataType

template<typename TensorView>
using ck_tile::TrivialPageBlockNavigator< TensorView >::DataType = typename TensorView::DataType

◆ WindowOrigin

template<typename TensorView>
using ck_tile::TrivialPageBlockNavigator< TensorView >::WindowOrigin = multi_index<2>

Constructor & Destructor Documentation

◆ TrivialPageBlockNavigator()

template<typename TensorView>
CK_TILE_HOST_DEVICE constexpr ck_tile::TrivialPageBlockNavigator< TensorView >::TrivialPageBlockNavigator ( const TensorView & tensor_view_)
inlineconstexpr

Member Function Documentation

◆ make_tile_window() [1/2]

template<typename TensorView>
template<typename WindowLengths>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::TrivialPageBlockNavigator< TensorView >::make_tile_window ( const WindowLengths & window_lengths,
const WindowOrigin & window_origin ) const
inlineconstexpr

◆ make_tile_window() [2/2]

template<typename TensorView>
template<typename WindowLengths, typename TileDistribution>
CK_TILE_HOST_DEVICE constexpr auto ck_tile::TrivialPageBlockNavigator< TensorView >::make_tile_window ( const WindowLengths & window_lengths,
const WindowOrigin & window_origin,
const TileDistribution & tile_distribution ) const
inlineconstexpr

◆ move_tile_window() [1/2]

template<typename TensorView>
template<typename TileWindow>
CK_TILE_HOST_DEVICE index_t ck_tile::TrivialPageBlockNavigator< TensorView >::move_tile_window ( index_t ,
TileWindow & tile_window,
const typename remove_cvref_t< TileWindow >::BottomTensorIndex & step )
inlinestatic

◆ move_tile_window() [2/2]

template<typename TensorView>
template<typename TileWindow>
CK_TILE_HOST_DEVICE index_t ck_tile::TrivialPageBlockNavigator< TensorView >::move_tile_window ( index_t ,
TileWindow & tile_window,
const typename remove_cvref_t< TileWindow >::BottomTensorIndex & step,
index_t  ) const
inline

◆ prefetch_table_id()

template<typename TensorView>
template<typename TileWindow>
CK_TILE_HOST_DEVICE index_t ck_tile::TrivialPageBlockNavigator< TensorView >::prefetch_table_id ( index_t ,
TileWindow ,
const typename remove_cvref_t< TileWindow >::BottomTensorIndex &  ) const
inline

◆ to_global_window_origin()

template<typename TensorView>
CK_TILE_HOST_DEVICE constexpr WindowOrigin ck_tile::TrivialPageBlockNavigator< TensorView >::to_global_window_origin ( index_t ,
const WindowOrigin & local_window_origin )
inlinestaticconstexpr

◆ to_local_window_origin()

template<typename TensorView>
CK_TILE_HOST_DEVICE constexpr WindowOrigin ck_tile::TrivialPageBlockNavigator< TensorView >::to_local_window_origin ( const WindowOrigin & global_window_origin)
inlinestaticconstexpr

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