mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 14:59:17 +00:00
Fix the gfx950 numerical errors (#2911)
* Update grouped_gemm example and pipeline * find the root cause error in did not enable the transpose in gfx950 correctly * Fix v3 pipeline, row and col major * Disable f8 datatype tests, it fails on gfx950 * fix the abd test by clear the runtime argument unsupported --------- Co-authored-by: AviralGoelAMD <aviral.goel@amd.com> Co-authored-by: Mateusz Ozga <mateusz.ozga@amd.com>
This commit is contained in:
@@ -132,6 +132,10 @@ struct GemmKernelMultiABD
|
||||
static constexpr index_t NumBTensor = BsDataType::size();
|
||||
static constexpr index_t NumDTensor = DsDataType::size();
|
||||
|
||||
using ADataType = remove_cvref_t<std::tuple_element_t<0, AsDataType>>;
|
||||
using BDataType = remove_cvref_t<std::tuple_element_t<0, BsDataType>>;
|
||||
using DDataType = remove_cvref_t<std::tuple_element_t<0, DsDataType>>;
|
||||
|
||||
CK_TILE_HOST static auto GetName() -> const std::string
|
||||
{
|
||||
return UniversalGemmKernel::GetName();
|
||||
@@ -181,6 +185,14 @@ struct GemmKernelMultiABD
|
||||
{
|
||||
return false;
|
||||
}
|
||||
// Currently MultiABD kernel doesn't support F8 data type
|
||||
if(ck_tile::get_device_name() == "gfx950" &&
|
||||
(std::is_same<ck_tile::fp8_t, ADataType>::value ||
|
||||
std::is_same<ck_tile::fp8_t, BDataType>::value ||
|
||||
std::is_same<ck_tile::fp8_t, DDataType>::value))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return UniversalGemmKernel::IsSupportedArgument(kargs);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user