Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 34013be

Browse files
authored
[SYCL] Add gpu-intel-pvc feature to LIT infra (#813)
Signed-off-by: Sergey Dmitriev <[email protected]>
1 parent 977a7ce commit 34013be

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

SYCL/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ unavailable.
149149
* **aoc**, **ocloc**, **opencl-aot** - Specific AOT tool availability;
150150
* **level_zero_dev_kit** - Level_Zero headers and libraries availability;
151151
* **gpu-intel-dg1** - Intel GPU DG1 availability;
152+
* **gpu-intel-pvc** - Intel GPU PVC availability;
152153
* **dump_ir**: - compiler can / cannot dump IR;
153154

154155
## llvm-lit parameters
@@ -171,6 +172,9 @@ configure specific single test execution in the command line:
171172
device selector to ensure that. Use SYCL_DEVICE_ALLOWLIST or
172173
SYCL_DEVICE_FILTER to get proper configuration (see
173174
[EnvironmentVariables.md](https://github.com/intel/llvm/blob/sycl/sycl/doc/EnvironmentVariables.md));
175+
* **gpu-intel-pvc** - tells LIT infra that Intel GPU PVC is present in the
176+
system. It is developer / CI infra responsibility to make sure that the
177+
device is available in the system.
174178
* **extra_environment** - comma-separated list of variables with values to be
175179
added to test environment. Can be also set by LIT_EXTRA_ENVIRONMENT variable
176180
in cmake.

SYCL/lit.cfg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@
9797
if lit_config.params.get('gpu-intel-dg1', False):
9898
config.available_features.add('gpu-intel-dg1')
9999

100+
if lit_config.params.get('gpu-intel-pvc', False):
101+
config.available_features.add('gpu-intel-pvc')
102+
100103
if lit_config.params.get('matrix', False):
101104
config.available_features.add('matrix')
102105

0 commit comments

Comments
 (0)