/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/ops/fmha/block/page_block_navigator.hpp Source File#
page_block_navigator.hpp
Go to the documentation of this file.
91 // default page-block navigator, assume that tensor view size is same as page-block size or smaller
101 CK_TILE_HOST_DEVICE constexpr PageBlockNavigator(copy_const_t<DataType, void>* physical_blocks_,
339 CK_TILE_HOST_DEVICE auto make_page_block_navigator(copy_const_t<DataType, void>* physical_blocks,
Definition: cluster_descriptor.hpp:13
CK_TILE_HOST_DEVICE auto make_page_block_navigator(const TensorView &tensor_view)
Definition: page_block_navigator.hpp:333
remove_cv_t< std::remove_reference_t< T > > remove_cvref_t
Definition: type_traits.hpp:21
typename copy_const< From, To >::type copy_const_t
Definition: type_traits.hpp:41
constexpr CK_TILE_HOST_DEVICE auto integer_divide_floor(X x, Y y)
Definition: math.hpp:143
constexpr CK_TILE_HOST_DEVICE auto make_multi_index(Xs &&... xs)
Definition: multi_index.hpp:20
constexpr CK_TILE_DEVICE auto make_tile_window(null_tensor_view, const WindowLengths &window_lengths, const multi_index< WindowLengths::size()> &, Ts &&...)
Definition: null_tile_window.hpp:75
CK_TILE_DEVICE void move_tile_window(null_tile_window< WindowLengths > &, const typename null_tile_window< WindowLengths >::BottomTensorIndex &)
Definition: null_tile_window.hpp:95
constexpr CK_TILE_HOST_DEVICE auto make_tuple(Xs &&... xs)
Definition: tuple.hpp:360
Definition: page_block_navigator.hpp:95
CK_TILE_HOST_DEVICE void move_to_block(index_t block_index, TileWindow &tile_window, index_t new_block_index) const
Definition: page_block_navigator.hpp:243
CK_TILE_HOST_DEVICE bool is_last_block(index_t block_index) const
Definition: page_block_navigator.hpp:227
multi_index< 2 > WindowOrigin
Definition: page_block_navigator.hpp:99
CK_TILE_HOST_DEVICE index_t move_tile_window(index_t block_index, TileWindow &tile_window, const typename remove_cvref_t< TileWindow >::BottomTensorIndex &step, index_t id) const
Definition: page_block_navigator.hpp:179
constexpr CK_TILE_HOST_DEVICE PageBlockNavigator(copy_const_t< DataType, void > *physical_blocks_, long_index_t block_stride_, long_index_t fixed_offset_, const int32_t *physical_block_indices_, index_t num_blocks_, index_t page_block_size_, const TensorView &complete_view_, const TensorView &last_view_)
Definition: page_block_navigator.hpp:101
CK_TILE_HOST_DEVICE WindowOrigin to_local_window_origin(const WindowOrigin &global_window_origin) const
Definition: page_block_navigator.hpp:265
CK_TILE_HOST_DEVICE auto make_tile_window(const WindowLengths &window_lengths, const WindowOrigin &window_origin) const
Definition: page_block_navigator.hpp:121
CK_TILE_HOST_DEVICE auto make_tile_window(const WindowLengths &window_lengths, const WindowOrigin &window_origin, const TileDistribution &tile_distribution) const
Definition: page_block_navigator.hpp:137
CK_TILE_HOST_DEVICE index_t move_tile_window(index_t block_index, TileWindow &tile_window, const typename remove_cvref_t< TileWindow >::BottomTensorIndex &step) const
Definition: page_block_navigator.hpp:156
CK_TILE_HOST_DEVICE index_t prefetch_table_id(index_t block_index, TileWindow &tile_window, const typename remove_cvref_t< TileWindow >::BottomTensorIndex &step) const
Definition: page_block_navigator.hpp:206
CK_TILE_HOST_DEVICE bool is_cross_block(index_t block_index, const TileWindow &tile_window) const
Definition: page_block_navigator.hpp:233
CK_TILE_HOST_DEVICE WindowOrigin to_global_window_origin(index_t block_index, const WindowOrigin &local_window_origin) const
Definition: page_block_navigator.hpp:284
Definition: page_block_navigator.hpp:14
typename TensorView::DataType DataType
Definition: page_block_navigator.hpp:15
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
Definition: page_block_navigator.hpp:56
CK_TILE_HOST_DEVICE index_t prefetch_table_id(index_t, TileWindow, const typename remove_cvref_t< TileWindow >::BottomTensorIndex &) const
Definition: page_block_navigator.hpp:68
constexpr CK_TILE_HOST_DEVICE auto make_tile_window(const WindowLengths &window_lengths, const WindowOrigin &window_origin, const TileDistribution &tile_distribution) const
Definition: page_block_navigator.hpp:33
constexpr CK_TILE_HOST_DEVICE TrivialPageBlockNavigator(const TensorView &tensor_view_)
Definition: page_block_navigator.hpp:18
multi_index< 2 > WindowOrigin
Definition: page_block_navigator.hpp:16
constexpr CK_TILE_HOST_DEVICE auto make_tile_window(const WindowLengths &window_lengths, const WindowOrigin &window_origin) const
Definition: page_block_navigator.hpp:24
static constexpr CK_TILE_HOST_DEVICE WindowOrigin to_local_window_origin(const WindowOrigin &global_window_origin)
Definition: page_block_navigator.hpp:76
static constexpr CK_TILE_HOST_DEVICE WindowOrigin to_global_window_origin(index_t, const WindowOrigin &local_window_origin)
Definition: page_block_navigator.hpp:82
static CK_TILE_HOST_DEVICE index_t move_tile_window(index_t, TileWindow &tile_window, const typename remove_cvref_t< TileWindow >::BottomTensorIndex &step)
Definition: page_block_navigator.hpp:45
A fixed-size array container similar to std::array with additional utilities.
Definition: array.hpp:43
Definition: integral_constant.hpp:13
Definition: tensor_view.hpp:41
Definition: tile_distribution.hpp:72