Support fp64 contraction on gfx94x. (#1029)

* enable contraction fp64 on gfx94*

* fix the logic
This commit is contained in:
Illia Silin
2023-11-08 15:03:18 -08:00
committed by GitHub
parent 98fd41f597
commit ce52621123

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;
}