mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-22 22:08:24 +00:00
18 lines
368 B
C++
18 lines
368 B
C++
#ifndef CK_DIMENSION_HPP
|
|
#define CK_DIMENSION_HPP
|
|
|
|
#include "common_header.hpp"
|
|
|
|
namespace ck {
|
|
|
|
template <index_t Length, index_t Stride>
|
|
struct NativeDimension
|
|
{
|
|
__host__ __device__ static constexpr auto GetLength() { return Number<Length>{}; }
|
|
|
|
__host__ __device__ static constexpr auto GetStride() { return Number<Stride>{}; }
|
|
};
|
|
|
|
} // namespace ck
|
|
#endif
|