Skip to content

Commit e6d4ab3

Browse files
committed
[UR] Clarify UR_DEVICE_TYPE_ALL usage.
Update spec to clarify that this is not a value to be returned.
1 parent 03c2469 commit e6d4ab3

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

unified-runtime/include/ur_api.h

+3-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unified-runtime/scripts/core/device.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ etors:
9494
value: "1"
9595
desc: "The default device type as preferred by the runtime"
9696
- name: ALL
97-
desc: "Devices of all types"
97+
desc: |
98+
Devices of all types, for use with $xDeviceGet() and
99+
$xDeviceGetSelected(). This value will never be returned when
100+
querying about a device.
98101
- name: GPU
99102
desc: "Graphics Processing Unit"
100103
- name: CPU

unified-runtime/scripts/core/manifests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# See YaML.md for syntax definition
99
#
1010
# NOTE: device_types must be explictly listed. Refrain from using
11-
# $X_DEVICE_TYPE_ALL. See https://github.com/intel/llvm/issues/17527.
11+
# $X_DEVICE_TYPE_ALL.
1212
--- #--------------------------------------------------------------------------
1313
type: header
1414
desc: "Intel $OneApi Unified Runtime adapter manifests"

0 commit comments

Comments
 (0)