mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 06:49:15 +00:00
[CK-Tile] Universal gemm memory bound pipeline (#1558)
* CK-Tile GEMM with memory bound pipeline. * Memory bound gemm pipeline. * Fix not closed namespace. * Block gemm mem pipeline draft. * Do not use ck_tile:: within ck_tile namespace. * Refactoring & Move Layout info to pipeline problem. * Get hot loop and TailNum information before lunching kernel. * Fixes in pipeline. * Add comment to load_tile_raw and change variable naming style. * Few small changes & formatting. * Do not use macro. * Add gtests. * Use AccDataType for Output of MFMA instruction. * Formatting. * Refactor gemm examples. * Switch over to current block gemm. * Use currently available pipeline policy. * Refactoring and review comment.s * Fixes after merge. * Add missing include. * Add load tile overload which accepts output tensor as parameter. * This give 8% perf boost at the cost of using more registers. * Rename example. * Small changes. * Fix compilation err and lower K. * Support different layouts for A/B * Fix vector size for different layouts. * Rename Alignment into VectorSize * Unblock tests.
This commit is contained in:
22
include/ck_tile/core/utility/literals.hpp
Normal file
22
include/ck_tile/core/utility/literals.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
// Copyright (c) 2024, Advanced Micro Devices, Inc. All rights reserved.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstdlib>
|
||||
|
||||
namespace ck_tile {
|
||||
namespace literals {
|
||||
// [P0330] Literal Suffix for (signed) size_t (C++23)
|
||||
// ref: https://wg21.link/p0330r8
|
||||
inline constexpr std::size_t operator""_uz(unsigned long long size)
|
||||
{
|
||||
return static_cast<std::size_t>(size);
|
||||
}
|
||||
|
||||
inline constexpr std::size_t operator""_zu(unsigned long long size)
|
||||
{
|
||||
return static_cast<std::size_t>(size);
|
||||
}
|
||||
} // namespace literals
|
||||
} // namespace ck_tile
|
||||
Reference in New Issue
Block a user