[igt-dev] [PATCH i-g-t 0/5] Make xe_compute test more generic

Mauro Carvalho Chehab mauro.chehab at linux.intel.com
Mon Mar 27 13:41:14 UTC 2023


From: Mauro Carvalho Chehab <mchehab at kernel.org>

Currently, xe_compute test runs only on an specific TGL PCI ID.
Make the test more generic, preparing to add support for more
platforms.

Mauro Carvalho Chehab (5):
  compute_square_kernel.cl: add CL file used at xe_compute.c
  xe/xe_compute: place OpenCL kernel on a separate file
  lib/xe/xe_compute: use registers defs from intel_gpu_commands.h
  gen_opencl_kernel: add script to dynamically create OpenCL kernels
  [RFC EXAMPLE] lib/xe/xe_compute_kernels.c: re-generate TGL binary

 lib/meson.build                    |    1 +
 lib/xe/xe_compute.c                |  236 ++--
 lib/xe/xe_compute.h                |   31 +-
 lib/xe/xe_compute_square_kernels.c | 1845 ++++++++++++++++++++++++++++
 opencl/README                      |   11 +
 opencl/compute_square_kernel.cl    |    5 +
 opencl/gen_opencl_kernel           |   86 ++
 tests/xe/xe_compute.c              |  108 +-
 8 files changed, 2129 insertions(+), 194 deletions(-)
 create mode 100644 lib/xe/xe_compute_square_kernels.c
 create mode 100644 opencl/README
 create mode 100644 opencl/compute_square_kernel.cl
 create mode 100755 opencl/gen_opencl_kernel

-- 
2.39.2



More information about the igt-dev mailing list