Skip to content

Commit d897ceb

Browse files
committed
Add a comment on the order of returned values
1 parent 4d3e329 commit d897ceb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

scripts/core/kernel.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,11 @@ etors:
126126
- name: NUM_REGS
127127
desc: "[uint32_t][optional-query] Return the number of registers used by the compiled kernel."
128128
- name: SPILL_MEM_SIZE
129-
desc: "[uint32_t[]][optional-query] Return the spill memory size allocated by the compiler."
129+
desc: |
130+
[uint32_t[]][optional-query] Return the spill memory size allocated by the compiler.
131+
The returned values correspond to the associated devices.
132+
The order of the devices is guaranteed (i.e., the same as queried by `urDeviceGet`)
133+
by the UR within a single application even if the runtime is reinitialized.
130134
--- #--------------------------------------------------------------------------
131135
type: enum
132136
desc: "Get Kernel Work Group information"

0 commit comments

Comments
 (0)