Commit 05cb24b
Mark IL_VERSION as optional query (#21661)
NativeCPU executes native code directly without intermediate language
(IL) support, so UR_DEVICE_INFO_IL_VERSION query is not applicable.
Changes:
1. Mark IL_VERSION as [optional-query] in device.yml spec
2. Add explanatory comment to ur_api.h describing why this is optional
3. Add IL_VERSION to optional_queries.h list
4. Remove xfails for NativeCPU from SuccessILVersion test
5. Add comment to test explaining why query is optional
The test now correctly handles UNSUPPORTED_ENUMERATION as a valid
response for adapters without IL support.1 parent 9bf1de7 commit 05cb24b
4 files changed
Lines changed: 6 additions & 4 deletions
File tree
- include/unified-runtime
- scripts/core
- test/conformance
- device
- testing/include/uur
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2204 | 2204 | | |
2205 | 2205 | | |
2206 | 2206 | | |
2207 | | - | |
| 2207 | + | |
| 2208 | + | |
2208 | 2209 | | |
2209 | 2210 | | |
2210 | 2211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
333 | 333 | | |
334 | 334 | | |
335 | 335 | | |
336 | | - | |
| 336 | + | |
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1145 | 1145 | | |
1146 | 1146 | | |
1147 | 1147 | | |
| 1148 | + | |
| 1149 | + | |
1148 | 1150 | | |
1149 | | - | |
1150 | | - | |
1151 | 1151 | | |
1152 | 1152 | | |
1153 | 1153 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments