Skip to content

Commit

Permalink
Support fp64 contraction on gfx94x. (#1029)
Browse files Browse the repository at this point in the history
* enable contraction fp64 on gfx94*

* fix the logic
  • Loading branch information
illsilin authored and junliume committed Nov 8, 2023
1 parent ebcfdb3 commit 52b0bff
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 52b0bff

Please sign in to comment.