SWDEV-415057: Fixing warning messages for masked simds

Change-Id: I06eed3c986e5e7de68978ac995b36edb35183a8a


[ROCm/rocprofiler commit: 2f8edb0250]
This commit is contained in:
Giovanni LB authored and Giovanni Baraldi committed 2023-08-02 17:05:45 -04:00
1 parent 94fe5ba5d8
commit 5f3e4b21e5
1 file changed
+1 -1
+1 -1
View File
@@ -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)