From 52b0bffec00772a4c1c8751232fa034ebb9310be Mon Sep 17 00:00:00 2001 From: Illia Silin <98187287+illsilin@users.noreply.github.com> Date: Wed, 8 Nov 2023 15:03:18 -0800 Subject: [PATCH] Support fp64 contraction on gfx94x. (#1029) * enable contraction fp64 on gfx94* * fix the logic --- .../impl/device_contraction_multiple_d_xdl_cshuffle.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/ck/tensor_operation/gpu/device/impl/device_contraction_multiple_d_xdl_cshuffle.hpp b/include/ck/tensor_operation/gpu/device/impl/device_contraction_multiple_d_xdl_cshuffle.hpp index 5ae06836fa..1ccc600cb5 100644 --- a/include/ck/tensor_operation/gpu/device/impl/device_contraction_multiple_d_xdl_cshuffle.hpp +++ b/include/ck/tensor_operation/gpu/device/impl/device_contraction_multiple_d_xdl_cshuffle.hpp @@ -595,7 +595,9 @@ struct DeviceContractionMultipleD_Xdl_CShuffle return false; } - if(ck::get_device_name() != "gfx90a" && std::is_same::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::value) { return false; }