Skip to content

Commit ece7149

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 27aae7a commit ece7149

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
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

0 commit comments

Comments
 (0)