{SYCL][E2E] Fix lit to use arch selection and l0 v2 adapter #20839
+39
−6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The fix allows to use of _v1 and _v2 to select the l0 adapter and the use of arch to select the GPU, eg.:
llvm-lit --param "sycl_devices=level_zero_v2:arch-intel_gpu_mtl_u" sycl/test-e2eNecessary to run tests on integrated GPU on system with another GPU
The contribution includes fixed setting of ZE_AFFINITY_MASK in multi-gpu systems (some tests set it before run). Please note, that most of tests use device
level_zero:1, but some of them require setting ZE_AFFINITY_MASK. For these tests the script sets ZE_AFFINITY_MASK=1 and use devicelevel_zero:0, due to filtering.