fix build error (#3195)

Co-authored-by: root <root@hjbog-srdc-39.amd.com>
This commit is contained in:
BingYuan.Zhou
2025-11-14 09:46:13 +08:00
committed by GitHub
parent 4a8b17d1a4
commit 4d629cd2b0
3 changed files with 12 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ static constexpr inline auto is_row_major(Layout layout_)
// mfma_type, 0:32x32, 1:16x16
template <typename FlatmmConfig, typename T>
auto shuffle_b(const ck_tile::HostTensor<T>& t)
auto shuffle_b_v0(const ck_tile::HostTensor<T>& t)
{
assert(t.get_lengths().size() == 2);
int n_ = t.get_lengths()[1];

View File

@@ -103,7 +103,7 @@ int run_flatmm_example_with_layouts(int argc,
}
else
{
return shuffle_b<FlatmmConfig>(b_origin_host);
return shuffle_b_v0<FlatmmConfig>(b_origin_host);
}
}();
ck_tile::DeviceMem b_shuffle_dev_buf(b_shuffle_host.get_element_space_size_in_bytes());