From 1953dcf384a4d75782220e00cabe50bcdc1cfd22 Mon Sep 17 00:00:00 2001 From: Nick Sarnie Date: Sat, 16 Mar 2024 03:30:54 +0900 Subject: [PATCH] [SYCL][E2E] Add gpu-intel-pvc-vg LIT param (#12981) I chose `gpu-intel-pvc-vg` instead of `gpu-intel-pvcvg` to match the device_arch [here](https://github.com/intel/llvm/blob/a0cdd9f741c70e7586d7638b88e7b750eb2d540c/sycl/doc/UsersManual.md?plain=1#L51). --------- Signed-off-by: Sarnie, Nick --- sycl/test-e2e/README.md | 3 +++ sycl/test-e2e/lit.cfg.py | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/sycl/test-e2e/README.md b/sycl/test-e2e/README.md index c8157d4e219ed..2564d7172a5a6 100644 --- a/sycl/test-e2e/README.md +++ b/sycl/test-e2e/README.md @@ -258,6 +258,9 @@ configure specific single test execution in the command line: * **gpu-intel-pvc** - tells LIT infra that Intel GPU PVC is present in the system. It is developer / CI infra responsibility to make sure that the device is available in the system. + * **gpu-intel-pvc-vg** - tells LIT infra that Intel GPU PVC-VG is present in the + system. It is developer / CI infra responsibility to make sure that the + device is available in the system. * **extra_environment** - comma-separated list of variables with values to be added to test environment. Can be also set by LIT_EXTRA_ENVIRONMENT variable in cmake. diff --git a/sycl/test-e2e/lit.cfg.py b/sycl/test-e2e/lit.cfg.py index ca072b843d19f..62bd5a05ce080 100644 --- a/sycl/test-e2e/lit.cfg.py +++ b/sycl/test-e2e/lit.cfg.py @@ -157,7 +157,14 @@ config.available_features.add( "matrix-tf32" ) # PVC implies the support of TF32 matrix - +if lit_config.params.get("gpu-intel-pvc-vg", False): + config.available_features.add("gpu-intel-pvc-vg") + config.available_features.add( + "matrix-fp16" + ) # PVC-VG implies the support of FP16 matrix + config.available_features.add( + "matrix-tf32" + ) # PVC-VG implies the support of TF32 matrix if lit_config.params.get("matrix", False): config.available_features.add("matrix")