[CK_TILE] Add unit test for fp4 warp gemm (#2817)

This update includes a unit test for warp GEMM
This commit is contained in:
Gino Lu
2025-12-01 13:56:48 +08:00
committed by GitHub
parent 004784ef98
commit ba6af9fe7c
5 changed files with 197 additions and 2 deletions

View File

@@ -408,7 +408,6 @@ struct HostTensor
return sizeof(T) * get_element_space_size();
}
// void SetZero() { ck_tile::ranges::fill<T>(mData, 0); }
void SetZero()
{
if constexpr(std::is_same_v<T, e8m0_t>)

View File

@@ -115,7 +115,7 @@ struct WarpGemmAttributeMfma
const BVecType& b_vec,
const int32_t& b_scale) const
{
auto c_vec = Impl{}.template operator()<opselA, opselB>(a_vec, a_scale, b_vec, b_scale);
return Impl{}.template operator()<opselA, opselB>(a_vec, a_scale, b_vec, b_scale);
}
};