Support fp64 contraction on gfx94x. (#1029)

* enable contraction fp64 on gfx94*

* fix the logic

[ROCm/composable_kernel commit: ce52621123]
This commit is contained in:
Illia Silin
2023-11-08 15:03:18 -08:00
committed by GitHub
parent be753a8db1
commit b931cd3cee

View File

@@ -595,7 +595,9 @@ struct DeviceContractionMultipleD_Xdl_CShuffle
return false;
}
if(ck::get_device_name() != "gfx90a" && std::is_same<ADataType, double>::value)
if(ck::get_device_name() != "gfx90a" && ck::get_device_name() != "gfx940" &&
ck::get_device_name() != "gfx941" && ck::get_device_name() != "gfx942" &&
std::is_same<ADataType, double>::value)
{
return false;
}