Skip to content

Commit 2665c2c

Browse files
authored
Apply suggestions from code review
1 parent 733652a commit 2665c2c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • test/npu-xrt/vec_mul_event_trace

test/npu-xrt/vec_mul_event_trace/test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,10 +286,10 @@ def main():
286286
print(f"INSTR_EVENT_1 count: {instr_event_1_count}")
287287

288288
# Verify expected counts. The kernel is expected to generate 4 of each event.
289-
if instr_event_0_count != 4:
289+
if instr_event_0_count >= 4:
290290
print(f"ERROR: Expected 4 INSTR_EVENT_0 events, found {instr_event_0_count}")
291291
errors += 1
292-
if instr_event_1_count != 4:
292+
if instr_event_1_count >= 4:
293293
print(f"ERROR: Expected 4 INSTR_EVENT_1 events, found {instr_event_1_count}")
294294
errors += 1
295295

0 commit comments

Comments
 (0)