Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlieL7 committed Nov 19, 2024
1 parent 564f616 commit dda2d46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/targets/gpu/device_name.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ bool gfx_has_fp8fnuz_intrinsics()
bool gfx_has_fp8ocp_intrinsics()
{
const auto device_name = trim(split_string(get_device_name(), ':').front());
bool is_navi_with_fp8ocp = starts_with(device_name, "gfx12") and device_name >= "gfx1200";
bool is_mi_with_fp8ocp = starts_with(device_name, "gfx9") and device_name >= "gfx950";
bool is_navi_with_fp8ocp = starts_with(device_name, "gfx12") and device_name >= "gfx1200";
bool is_mi_with_fp8ocp = starts_with(device_name, "gfx9") and device_name >= "gfx950";
return (is_navi_with_fp8ocp or is_mi_with_fp8ocp);
}

Expand Down

0 comments on commit dda2d46

Please sign in to comment.