From af782702e6a431e2e0353cb31793780db774142e Mon Sep 17 00:00:00 2001 From: Ahsan Saghir Date: Mon, 21 Oct 2024 18:50:02 +0000 Subject: [PATCH] Add gfx110x and gfx120x cards to hipblaslt supported arch --- src/targets/gpu/hipblaslt.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/targets/gpu/hipblaslt.cpp b/src/targets/gpu/hipblaslt.cpp index 1b0e1e99175..47a9e92739b 100644 --- a/src/targets/gpu/hipblaslt.cpp +++ b/src/targets/gpu/hipblaslt.cpp @@ -56,9 +56,10 @@ hipblaslt_preference_ptr create_hipblaslt_preference_ptr() bool hipblaslt_supported() { const auto device_name = trim(split_string(get_device_name(), ':').front()); - // hipblaslt is supported for MI100 and above and Navi3x and above - return (starts_with(device_name, "gfx9") and device_name >= "gfx908" and - not starts_with(device_name, "gfx10")); + // hipblaslt is supported for MI200 and above, and Navi3x and above. + return (device_name == "gfx90a" or + (starts_with(device_name, "gfx94") and device_name >= "gfx940") or + starts_with(device_name, "gfx110") or starts_with(device_name, "gfx120")); } #endif // MIGRAPHX_USE_HIPBLASLT