Skip to content

Conversation

@kbenzie
Copy link
Contributor

@kbenzie kbenzie commented Dec 2, 2024

In order to support in-code management of known failures we need a query to differentiate between the two versions of the Level Zero adapter. This patch adds the UR_ADAPTER_INFO_VERSION query which returns a uint32_t which is set to return 1 for all adapters except the Level Zero adapter when being compiled in V2 mode.

@github-actions github-actions bot added conformance Conformance test suite issues. specification Changes or additions to the specification level-zero L0 adapter specific issues cuda CUDA adapter specific issues hip HIP adapter specific issues opencl OpenCL adapter specific issues native-cpu Native CPU adapter specific issues labels Dec 2, 2024
@kbenzie kbenzie force-pushed the benie/adapter-version-query branch from ea197ea to ceffb34 Compare December 2, 2024 12:00
@github-actions github-actions bot added the loader Loader related feature/bug label Dec 2, 2024
@kbenzie kbenzie force-pushed the benie/adapter-version-query branch from ceffb34 to 1654981 Compare December 2, 2024 12:06
In order to support in-code management of known failures we need a query
to differentiate between the two versions of the Level Zero adapter.
This patch adds the `UR_ADAPTER_INFO_VERSION` query which returns a
`uint32_t` which is set to return `1` for all adapters except the Level
Zero adapter when being compiled in V2 mode.
@kbenzie kbenzie force-pushed the benie/adapter-version-query branch from 5aef8a3 to 3ff0730 Compare December 3, 2024 12:00
@kbenzie kbenzie merged commit c6206db into oneapi-src:main Dec 3, 2024
73 checks passed
kbenzie added a commit to kbenzie/unified-runtime that referenced this pull request Dec 11, 2024
…-query

Add UR_ADAPTER_INFO_VERSION query
aarongreig pushed a commit to aarongreig/unified-runtime that referenced this pull request Dec 18, 2024
@kbenzie kbenzie deleted the benie/adapter-version-query branch December 18, 2024 13:38
aarongreig pushed a commit to aarongreig/unified-runtime that referenced this pull request Dec 19, 2024
aarongreig pushed a commit to aarongreig/unified-runtime that referenced this pull request Dec 20, 2024
aarongreig pushed a commit to aarongreig/unified-runtime that referenced this pull request Jan 3, 2025
aarongreig pushed a commit to aarongreig/unified-runtime that referenced this pull request Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

conformance Conformance test suite issues. cuda CUDA adapter specific issues hip HIP adapter specific issues level-zero L0 adapter specific issues loader Loader related feature/bug native-cpu Native CPU adapter specific issues opencl OpenCL adapter specific issues specification Changes or additions to the specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants