mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-05-11 17:00:18 +00:00
* add DeviceGemmXdl * update script * fix naming issue * fix comment * output HostTensorDescriptor * rename * padded GEMM for fwd v4r4r4 nhwc * refactor * refactor * refactor * adding ckProfiler * adding ckProfiler * refactor * fix tuning parameter bug * add more gemm instances * add more fp16 GEMM instances * fix profiler driver * fix bug in tuning parameter * add fp32 gemm instances * small fix * refactor * rename * refactor gemm profiler; adding DeviceConv and conv profiler * refactor * fix * add conv profiler * refactor * adding more GEMM and Conv instance * Create README.md Add build instruction for ckProfiler * Create README.md Add Readme for gemm_xdl example * Update README.md Remove build instruction from top most folder * Update README.md * clean up
53 lines
633 B
C++
53 lines
633 B
C++
#ifndef TENSOR_LAYOUT_HPP
|
|
#define TENSOR_LAYOUT_HPP
|
|
|
|
namespace ck {
|
|
namespace tensor_layout {
|
|
|
|
struct BaseTensorLayout
|
|
{
|
|
};
|
|
|
|
namespace gemm {
|
|
|
|
struct RowMajor : public BaseTensorLayout
|
|
{
|
|
};
|
|
|
|
struct ColumnMajor : public BaseTensorLayout
|
|
{
|
|
};
|
|
} // namespace gemm
|
|
|
|
namespace convolution {
|
|
|
|
struct NHWC : public BaseTensorLayout
|
|
{
|
|
};
|
|
|
|
struct KYXC : public BaseTensorLayout
|
|
{
|
|
};
|
|
|
|
struct NHWK : public BaseTensorLayout
|
|
{
|
|
};
|
|
|
|
struct NCHW : public BaseTensorLayout
|
|
{
|
|
};
|
|
|
|
struct KCYX : public BaseTensorLayout
|
|
{
|
|
};
|
|
|
|
struct NKHW : public BaseTensorLayout
|
|
{
|
|
};
|
|
|
|
} // namespace convolution
|
|
|
|
} // namespace tensor_layout
|
|
} // namespace ck
|
|
#endif
|