mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-05 06:01:23 +00:00
* chore(copyright): update copyright header for tile_engine directory * chore(copyright): update copyright header for script directory * chore(copyright): update copyright header for test_data directory * chore(copyright): update copyright header for python directory * chore(copyright): update copyright header for profiler directory * chore(copyright): update copyright header for library directory * chore(copyright): update copyright header for include directory
21 lines
510 B
C++
21 lines
510 B
C++
// Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#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)
|
|
{
|
|
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
|