You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -190,23 +186,18 @@ The application may subsequently mutate specific commands, as follows:
190
186
${x}CommandListClose(hCommandList);
191
187
192
188
// ...
193
-
Note, the command list must be explicitly closed after updating mutable commands and events. This informs the implementation that the application has finished with updates and is ready to submit the command list.
194
189
195
-
In preparation for kernel mutation user must provide all possible kernel mutations.
190
+
191
+
Note, the command list must be explicitly closed after updating mutable commands and events. This informs the implementation that the application has finished with updates and is ready to submit the command list.
192
+
In preparation for kernel mutation user must provide all possible kernels for the command.
desc: "Returns a unique command identifier for the next command to be appended to a command list. Provides possible kernel handles for kernel mutation when $X_MUTABLE_COMMAND_EXP_FLAG_KERNEL_INSTRUCTION flag is present."
229
+
version: "1.10"
230
+
class: $xCommandList
231
+
name: GetNextCommandIdWithKernelsExp
232
+
details:
233
+
- "This function may only be called for a mutable command list."
234
+
- "This function may not be called on a closed command list."
235
+
- "This function may be called from simultaneous threads with the same command list handle."
236
+
- "The implementation of this function should be lock-free."
237
+
params:
238
+
- type: $x_command_list_handle_t
239
+
name: hCommandList
240
+
desc: "[in] handle of the command list"
241
+
- type: "const $x_mutable_command_id_exp_desc_t*"
242
+
name: desc
243
+
desc: "[in][out] pointer to mutable command identifier descriptor"
244
+
- type: uint32_t
245
+
name: numKernels
246
+
desc: "[in][optional] number of entries on phKernels list"
247
+
- type: "$x_kernel_handle_t*"
248
+
name: phKernels
249
+
desc: "[in][optional][range(0, numKernels)] list of kernels that user can switch between using $xCommandListUpdateMutableCommandKernelsExp call"
250
+
- type: uint64_t*
251
+
name: pCommandId
252
+
desc: "[out] pointer to mutable command identifier to be written"
0 commit comments