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
/// + If the device associated with `hCommandBuffer` does not support UR_DEVICE_INFO_COMMAND_BUFFER_EVENT_SUPPORT_EXP and either `phEvent` or `phEventWaitList` are not NULL.
8490
8494
/// - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
8491
8495
/// - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
8496
+
/// - ::UR_RESULT_ERROR_INVALID_OPERATION - "phCommand is not NULL and hCommandBuffer is not updatable."
8492
8497
UR_APIEXPORT ur_result_t UR_APICALL
8493
8498
urCommandBufferAppendKernelLaunchExp(
8494
8499
ur_exp_command_buffer_handle_t hCommandBuffer, ///< [in] Handle of the command-buffer object.
desc: "Command-buffer command query information type"
@@ -380,7 +386,8 @@ params:
380
386
desc: "[out][optional] return an event object that will be signaled by the completion of this command in the next execution of the command-buffer."
381
387
- type: "$x_exp_command_buffer_command_handle_t*"
382
388
name: phCommand
383
-
desc: "[out][optional] Handle to this command."
389
+
desc: "[out][optional] Handle to this command. Only available if the
390
+
command-buffer is updatable."
384
391
returns:
385
392
- $X_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
386
393
- $X_RESULT_ERROR_INVALID_KERNEL
@@ -403,6 +410,8 @@ returns:
403
410
- "If the device associated with `hCommandBuffer` does not support UR_DEVICE_INFO_COMMAND_BUFFER_EVENT_SUPPORT_EXP and either `phEvent` or `phEventWaitList` are not NULL."
404
411
- $X_RESULT_ERROR_OUT_OF_HOST_MEMORY
405
412
- $X_RESULT_ERROR_OUT_OF_RESOURCES
413
+
- $X_RESULT_ERROR_INVALID_OPERATION
414
+
- "phCommand is not NULL and hCommandBuffer is not updatable."
0 commit comments