From 24669f2bbb088923a29559fe055f0dc380a88953 Mon Sep 17 00:00:00 2001 From: Omar Rashwan Date: Wed, 13 May 2026 11:16:44 -0700 Subject: [PATCH] intel: define type for std::max in eu stall viewer Part-of: --- src/intel/tools/intel_eu_stall_viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/tools/intel_eu_stall_viewer.cpp b/src/intel/tools/intel_eu_stall_viewer.cpp index 213beb16dbc..8fc7c5f40ba 100644 --- a/src/intel/tools/intel_eu_stall_viewer.cpp +++ b/src/intel/tools/intel_eu_stall_viewer.cpp @@ -172,7 +172,7 @@ public: float inst_hotness = (double) std::get<3>(inst).types[stall_type_] / - (double) std::max(max_hits_.types[stall_type_], 1ull); + (double) std::max(max_hits_.types[stall_type_], 1ull); ImU32 row_bg_color = ImGui::GetColorU32(ImVec4(inst_hotness, 0.0f, 0.0f, 0.5f)); ImGui::TableSetBgColor(ImGuiTableBgTarget_RowBg0, row_bg_color);