Commit b1355813 authored by Chao Liu's avatar Chao Liu
Browse files

Merge remote-tracking branch 'origin/feature/move-underscore-leading-literal'...

Merge remote-tracking branch 'origin/feature/move-underscore-leading-literal' into layernorm_welford
No related merge requests found
Showing with 6 additions and 0 deletions
+6 -0
......@@ -22,6 +22,8 @@ struct ExecutionConfig final
bool run_gemm_add_add_fastgelu(const ProblemSize& problem_size, const ExecutionConfig& config)
{
using namespace ck::literals;
auto& [M, N, K, StrideA, StrideB, StrideD0, StrideD1, StrideE] = problem_size;
auto f_host_tensor_descriptor =
......
......@@ -3,6 +3,8 @@
#pragma once
namespace ck {
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)
......@@ -14,3 +16,5 @@ inline constexpr std::size_t operator""_zu(unsigned long long size)
{
return static_cast<std::size_t>(size);
}
} // namespace literals
} // namespace ck
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment