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

[SYCL] Add gpu-intel-pvc feature to LIT infra #813

Merged
merged 1 commit into from
Feb 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions SYCL/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ unavailable.
* **aoc**, **ocloc**, **opencl-aot** - Specific AOT tool availability;
* **level_zero_dev_kit** - Level_Zero headers and libraries availability;
* **gpu-intel-dg1** - Intel GPU DG1 availability;
* **gpu-intel-pvc** - Intel GPU PVC availability;
* **dump_ir**: - compiler can / cannot dump IR;

## llvm-lit parameters
Expand All @@ -171,6 +172,9 @@ configure specific single test execution in the command line:
device selector to ensure that. Use SYCL_DEVICE_ALLOWLIST or
SYCL_DEVICE_FILTER to get proper configuration (see
[EnvironmentVariables.md](https://github.com/intel/llvm/blob/sycl/sycl/doc/EnvironmentVariables.md));
* **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.
* **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.
Expand Down
3 changes: 3 additions & 0 deletions SYCL/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
if lit_config.params.get('gpu-intel-dg1', False):
config.available_features.add('gpu-intel-dg1')

if lit_config.params.get('gpu-intel-pvc', False):
config.available_features.add('gpu-intel-pvc')

if lit_config.params.get('matrix', False):
config.available_features.add('matrix')

Expand Down