/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/ops/image_to_column/pipeline/tile_image_to_column_shape.hpp Source File

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/ops/image_to_column/pipeline/tile_image_to_column_shape.hpp Source File#

Composable Kernel: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-composable-kernel/checkouts/develop/include/ck_tile/ops/image_to_column/pipeline/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 
8 namespace ck_tile {
9 template <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: cluster_descriptor.hpp:13
int32_t index_t
Definition: integer.hpp:9
__host__ constexpr __device__ index_t get_warp_size()
Definition: get_id.hpp:42
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
Definition: integral_constant.hpp:13