[PATCH i-g-t 0/2] Replace loop in WMTP tests

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Fri Apr 4 09:26:22 UTC 2025


Current solution where we run loop with some number of iterations
is problematic because we tweak this number for different platforms.

Start to migrate to loop stoppable from cpu side, where we can
immediately stop long running job via simple memory write instead
of waiting until loop will complete all iterations.

Cc: Francois Dugast <francois.dugast at intel.com>
Cc: Priyanka Dandamudi <priyanka.dandamudi at intel.com>

Zbigniew Kempczyński (2):
  lib/intel_compute: add support for stoppable loop
  lib/intel_compute_square_kernels: use stoppable loop for LNL/BMG

 lib/intel_compute.c                | 39 +++++++++++++++++++++++-----
 lib/intel_compute.h                |  2 ++
 lib/intel_compute_square_kernels.c | 41 ++++++++++++++++++++++++++++++
 opencl/loop.cl                     |  9 +++++++
 4 files changed, 84 insertions(+), 7 deletions(-)
 create mode 100644 opencl/loop.cl

-- 
2.34.1



More information about the igt-dev mailing list