From 5f3e4b21e5c256a1585251bf75bcf621f583bcc4 Mon Sep 17 00:00:00 2001 From: Giovanni LB Date: Wed, 2 Aug 2023 18:04:49 -0300 Subject: [PATCH] SWDEV-415057: Fixing warning messages for masked simds Change-Id: I06eed3c986e5e7de68978ac995b36edb35183a8a [ROCm/rocprofiler commit: 2f8edb0250508987ef3004c2147812e103b14017] --- projects/rocprofiler/plugin/att/att.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocprofiler/plugin/att/att.py b/projects/rocprofiler/plugin/att/att.py index ff67b613d9..b3d0332f42 100755 --- a/projects/rocprofiler/plugin/att/att.py +++ b/projects/rocprofiler/plugin/att/att.py @@ -177,7 +177,7 @@ def getWaves_binary(name, shader_engine_data_dict, target_cu, depth): wave_slot_count = [[0 for k in range(20)] for j in range(4)] waves_python = [] for wave in waves: - if wave_slot_count[wave.simd][wave.wave_id] >= depth: + if wave_slot_count[wave.simd][wave.wave_id] >= depth or wave.instructions_size == 0: continue wave_slot_count[wave.simd][wave.wave_id] += 1 pwave = PythonWave(wave)