SWDEV-415057: Fixing warning messages for masked simds

Change-Id: I06eed3c986e5e7de68978ac995b36edb35183a8a
This commit is contained in:
Giovanni LB
2023-08-02 18:04:49 -03:00
committed by Giovanni Baraldi
parent 0ecf3cb2e1
commit 2f8edb0250
+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)