-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Add "loader" support to conformance testing
This expands our CI to test the loader; the dispatcher that is used when multiple adapters are availabe. Previously, the unit tests forced a specific adapter, via `UR_ADAPTERS_FORCE_LOAD`. Now an extra "loader" target is created for each test suite, which doesn't set that variable and allows the loader to be used. In addition, the test runner's adapter selection logic has been rewritten to support a "--backend" variable, which allows you to select a backend (OpenCL, Level Zero, etc.). The platform selection has also been expanded to support filtering by a backend to match that platform only on that backend (e.g. `UR_CTS_ADAPTER_PLATFORM="opencl:Fictional Corp(R)"`). The old "run on hardware" jobs should behave the same (they have the loader tests disabled), but there is a new `combined-opencl-level-zero` job that tests a build with both OpenCL and Level Zero available.
- Loading branch information
1 parent
675dd29
commit c26d47e
Showing
76 changed files
with
897 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.