@@ -417,26 +417,12 @@ CTS Environment Variables
417
417
418
418
The following environment variables are used by the CTS runner and can be used to specify the platform that the test
419
419
framework should run on. This can be used during development and testing to run CTS tests in case multiple platforms
420
- are available. If both filters are specified, then they both must match a platform for it to be selected. If there are
421
- no valid platforms, then the tests will fail. Command line arguments take priority over these variables.
420
+ are available. Conformance tests will be skipped if there are no valid platforms.
422
421
423
- .. envvar :: UR_CTS_ADAPTER_PLATFORM
422
+ .. envvar :: ONEAPI_DEVICE_SELECTOR
424
423
425
- A specifier list in the form of `[(backend):](platform name)[;[(backend)]:(platform name)]... `. If a backend
426
- specific specifier is present in the list and the test is running for that backend, the device with the given name
427
- is chosen. Otherwise, it must match the name of the specifier from the list with no backend. Backend names are case-
428
- insensitive, however platform names must match exactly.
429
-
430
- For example, if the test device has multiple platforms and you want to run tests on the "ABC Corp" backend when
431
- testing OpenCL and "XYZ Org" when testing level zero, you'd use `OPENCL:ABC Corp;LEVEL_ZERO:XYZ Org `. This form is
432
- useful when running the `build ` target with a build with multiple backends.
433
-
434
- For testing only one platform, the backend can be omitted. For example, just `ABC Corp ` is sufficient if the tests
435
- are only going to be testing OpenCL.
436
-
437
- .. envvar :: UR_CTS_BACKEND
438
-
439
- A (case insensitive) backend to force the test to use. For example, `opencl `, `level_zero `, `hip ` and so on.
424
+ If ``ONEAPI_DEVICE_SELECTOR `` is set in the environment, only devices
425
+ matched by the selector will be tested.
440
426
441
427
.. envvar :: UR_CTS_ALSO_RUN_KNOWN_FAILURES
442
428
0 commit comments