tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ > Struct Template Reference

tile_window_with_static_lengths&lt; BottomTensorView_, WindowLengths_ &gt; Struct Template Reference#

Composable Kernel: ck_tile::tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ > Struct Template Reference
ck_tile::tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ > Struct Template Reference

This class provides description of tile windowed view on the device memory. More...

#include <tile_window.hpp>

Inheritance diagram for ck_tile::tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >:
ck_tile::tile_window_base< tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >, BottomTensorView_, WindowLengths_ >

Public Types

using Base
Public Types inherited from ck_tile::tile_window_base< tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >, BottomTensorView_, WindowLengths_ >
using BottomTensorView
using WindowLengths
using BottomTensorDesc
using DataType
using BottomTensorIndex

Public Member Functions

CK_TILE_DEVICE constexpr tile_window_with_static_lengths ()=default
CK_TILE_DEVICE constexpr tile_window_with_static_lengths (const typename Base::BottomTensorView &bottom_tensor_view, const typename Base::WindowLengths &window_lengths, const typename Base::BottomTensorIndex &window_origin)
template<typename DataType>
CK_TILE_DEVICE void print_tile_window_range (index_t start_i, index_t end_i, index_t start_j, index_t end_j, const char *label="") const
Public Member Functions inherited from ck_tile::tile_window_base< tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >, BottomTensorView_, WindowLengths_ >
CK_TILE_DEVICE constexpr auto get_window_origin () const
CK_TILE_DEVICE constexpr auto get_window_lengths () const
CK_TILE_DEVICE constexpr auto get_bottom_tensor_view () const
CK_TILE_DEVICE void set_window_origin (const BottomTensorIndex &new_window_origin)
CK_TILE_DEVICE void set_window_origin_extended (const BottomTensorIndex &)
CK_TILE_DEVICE constexpr void set_bottom_tensor_view_data_ptr (typename BottomTensorView::DataType *data)
CK_TILE_DEVICE void move (const BottomTensorIndex &step)
CK_TILE_DEVICE void move_extended (const BottomTensorIndex &)

Additional Inherited Members

Static Public Member Functions inherited from ck_tile::tile_window_base< tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >, BottomTensorView_, WindowLengths_ >
static CK_TILE_DEVICE constexpr index_t get_num_of_dimension ()
Public Attributes inherited from ck_tile::tile_window_base< tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >, BottomTensorView_, WindowLengths_ >
BottomTensorIndex window_origin_
WindowLengths window_lengths_
BottomTensorView bottom_tensor_view_
Static Public Attributes inherited from ck_tile::tile_window_base< tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >, BottomTensorView_, WindowLengths_ >
static constexpr index_t NDimBottomTensor

Detailed Description

template<typename BottomTensorView_, typename WindowLengths_>
struct ck_tile::tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >

This class provides description of tile windowed view on the device memory.

Note
This class does not provide any functions to read or modify device memory.
Template Parameters
BottomTensorView_Class describing & holding device tensor memory.
WindowLengths_Spatial sizes of windowed view on tensor.

Member Typedef Documentation

◆ Base

template<typename BottomTensorView_, typename WindowLengths_>
using ck_tile::tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >::Base
Initial value:
BottomTensorView_,
WindowLengths_>
This class provides description of tile windowed view on the device memory.
Definition tile_window_base.hpp:31

Constructor & Destructor Documentation

◆ tile_window_with_static_lengths() [1/2]

template<typename BottomTensorView_, typename WindowLengths_>
CK_TILE_DEVICE constexpr ck_tile::tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >::tile_window_with_static_lengths ( )
constexprdefault

◆ tile_window_with_static_lengths() [2/2]

template<typename BottomTensorView_, typename WindowLengths_>
CK_TILE_DEVICE constexpr ck_tile::tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >::tile_window_with_static_lengths ( const typename Base::BottomTensorView & bottom_tensor_view,
const typename Base::WindowLengths & window_lengths,
const typename Base::BottomTensorIndex & window_origin )
inlineconstexpr

Member Function Documentation

◆ print_tile_window_range()

template<typename BottomTensorView_, typename WindowLengths_>
template<typename DataType>
CK_TILE_DEVICE void ck_tile::tile_window_with_static_lengths< BottomTensorView_, WindowLengths_ >::print_tile_window_range ( index_t start_i,
index_t end_i,
index_t start_j,
index_t end_j,
const char * label = "" ) const
inline

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