tile_image_to_column_shape.hpp Source File

tile_image_to_column_shape.hpp Source File#

Composable Kernel: tile_image_to_column_shape.hpp Source File
tile_image_to_column_shape.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved.
3
4#pragma once
5
6#include "ck_tile/core.hpp"
7
8namespace ck_tile {
9template <typename ThreadTile, // Sequence<...
10 typename WarpTile, // Sequence<...
11 typename BlockTile> // Sequence<...
13{
14 static constexpr index_t kMPerThread = ThreadTile::at(number<0>{});
15 static constexpr index_t kKPerThread = ThreadTile::at(number<1>{});
16
17 static constexpr index_t kMPerWarp = WarpTile::at(number<0>{});
21
22 static constexpr index_t kMPerBlock = BlockTile::at(number<0>{});
23 static constexpr index_t kKPerBlock = BlockTile::at(number<1>{});
24
27
29};
30
31} // namespace ck_tile
Definition tile/core/algorithm/cluster_descriptor.hpp:13
CK_TILE_HOST_DEVICE constexpr index_t get_warp_size()
Definition arch.hpp:63
constant< v > number
Definition tile/core/numeric/integral_constant.hpp:37
int32_t index_t
Definition integer.hpp:9
Definition tile_image_to_column_shape.hpp:13
static constexpr index_t kKThreadPerWarp
Definition tile_image_to_column_shape.hpp:19
static constexpr index_t kKWarpPerBlock
Definition tile_image_to_column_shape.hpp:26
static constexpr index_t kMPerBlock
Definition tile_image_to_column_shape.hpp:22
static constexpr index_t kKPerBlock
Definition tile_image_to_column_shape.hpp:23
static constexpr index_t kMPerThread
Definition tile_image_to_column_shape.hpp:14
static constexpr index_t kMThreadPerWarp
Definition tile_image_to_column_shape.hpp:18
static constexpr index_t kKPerThread
Definition tile_image_to_column_shape.hpp:15
static constexpr index_t kMWarpPerBlock
Definition tile_image_to_column_shape.hpp:25
static constexpr index_t kMPerWarp
Definition tile_image_to_column_shape.hpp:17
static constexpr index_t kKPerWarp
Definition tile_image_to_column_shape.hpp:20
static constexpr index_t kBlockSize
Definition tile_image_to_column_shape.hpp:28