diff --git a/src/targets/gpu/device_name.cpp b/src/targets/gpu/device_name.cpp index e3f47a4f3b0..d4ebab89695 100644 --- a/src/targets/gpu/device_name.cpp +++ b/src/targets/gpu/device_name.cpp @@ -52,13 +52,15 @@ std::string get_device_name() bool gfx_has_fp8fnuz_intrinsics() { const auto device_name = trim(split_string(get_device_name(), ':').front()); - return (starts_with(device_name, "gfx9") and device_name >= "gfx940"); + return (starts_with(device_name, "gfx94")); } bool gfx_has_fp8ocp_intrinsics() { const auto device_name = trim(split_string(get_device_name(), ':').front()); - return (starts_with(device_name, "gfx12") and device_name >= "gfx1200"); + bool is_navi4x = starts_with(device_name, "gfx12") and device_name >= "gfx1200"; + bool is_mi35x = starts_with(device_name, "gfx9") and device_name >= "gfx950"; + return (is_navi4x or is_mi35x); } } // namespace gpu