Files
composable_kernel/device_operation/include/tensor_layout.hpp
Jianfeng Yan 6dfb92bbef Conv3d new (#94)
* conv3d compiles but has memory error

* conv3d works

* fix performance issue by using __builtin_amdgc_readfirstlane

* change MakeBlock2CTileMap to MakeDefaultBlock2CTileMap; change c_blockid_to* to cblockid_to*

* clang-format

* remove CK_EXPERIMENTAL_PASS_TENSOR_DECRIPTOR_BY_*; moved wrapper into DeviceConv3d

* format

* remove useless marc

* add comment

Co-authored-by: Chao Liu <chao.liu2@amd.com>
2022-02-22 22:45:28 -06:00

65 lines
768 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
{
};
struct NDHWC : public BaseTensorLayout
{
};
struct KZYXC : public BaseTensorLayout
{
};
struct NDHWK : public BaseTensorLayout
{
};
} // namespace convolution
} // namespace tensor_layout
} // namespace ck
#endif