mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 14:59:17 +00:00
MX GEMM - FP6 Support in GEMM MX v3 Pipeline (#2481)
* Add GEMM MX BF6 example * Fix BF6 type_convert * Add type_convert for bf16x6 * Add compare operator to f4x2_pk_t * Update README for 67_gemm_microscaling * Fix host tensor initialization with integer values for FP8
This commit is contained in:
committed by
Aviral Goel
parent
adeaf61ee5
commit
3421272f90
@@ -71,6 +71,17 @@ struct f4x2_pk_t
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
|
||||
// Compare operator
|
||||
__host__ __device__ friend bool operator==(const f4x2_pk_t& lhs, const f4x2_pk_t& rhs)
|
||||
{
|
||||
return lhs.data == rhs.data;
|
||||
}
|
||||
|
||||
__host__ __device__ friend bool operator!=(const f4x2_pk_t& lhs, const f4x2_pk_t& rhs)
|
||||
{
|
||||
return !(lhs == rhs);
|
||||
}
|
||||
};
|
||||
|
||||
template <typename BitType, index_t pk_size>
|
||||
|
||||
Reference in New Issue
Block a user