@@ -417,8 +417,8 @@ typedef enum ur_function_t {
417417 UR_FUNCTION_COMMAND_BUFFER_APPEND_USM_PREFETCH_EXP = 240,
418418 /// Enumerator for ::urCommandBufferAppendUSMAdviseExp
419419 UR_FUNCTION_COMMAND_BUFFER_APPEND_USM_ADVISE_EXP = 241,
420- /// Enumerator for ::urCommandBufferEnqueueExp
421- UR_FUNCTION_COMMAND_BUFFER_ENQUEUE_EXP = 242,
420+ /// Enumerator for ::urEnqueueCommandBufferExp
421+ UR_FUNCTION_ENQUEUE_COMMAND_BUFFER_EXP = 242,
422422 /// Enumerator for ::urCommandBufferUpdateSignalEventExp
423423 UR_FUNCTION_COMMAND_BUFFER_UPDATE_SIGNAL_EVENT_EXP = 243,
424424 /// Enumerator for ::urCommandBufferUpdateWaitEventsExp
@@ -7095,8 +7095,8 @@ typedef enum ur_command_t {
70957095 UR_COMMAND_READ_HOST_PIPE = 25,
70967096 /// Event created by ::urEnqueueWriteHostPipe
70977097 UR_COMMAND_WRITE_HOST_PIPE = 26,
7098- /// Event created by ::urCommandBufferEnqueueExp
7099- UR_COMMAND_COMMAND_BUFFER_ENQUEUE_EXP = 0x1000,
7098+ /// Event created by ::urEnqueueCommandBufferExp
7099+ UR_COMMAND_ENQUEUE_COMMAND_BUFFER_EXP = 0x1000,
71007100 /// Event created by ::urBindlessImagesWaitExternalSemaphoreExp
71017101 UR_COMMAND_EXTERNAL_SEMAPHORE_WAIT_EXP = 0x2000,
71027102 /// Event created by ::urBindlessImagesSignalExternalSemaphoreExp
@@ -11488,8 +11488,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
1148811488/// - ::UR_RESULT_ERROR_DEVICE_LOST
1148911489/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
1149011490/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
11491- /// + `NULL == hCommandBuffer`
1149211491/// + `NULL == hQueue`
11492+ /// + `NULL == hCommandBuffer`
1149311493/// - ::UR_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
1149411494/// - ::UR_RESULT_ERROR_INVALID_QUEUE
1149511495/// - ::UR_RESULT_ERROR_INVALID_EVENT
@@ -11499,11 +11499,11 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
1149911499/// + If event objects in phEventWaitList are not valid events.
1150011500/// - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
1150111501/// - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
11502- UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferEnqueueExp(
11503- /// [in] Handle of the command-buffer object.
11504- ur_exp_command_buffer_handle_t hCommandBuffer,
11502+ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueCommandBufferExp(
1150511503 /// [in] The queue to submit this command-buffer for execution.
1150611504 ur_queue_handle_t hQueue,
11505+ /// [in] Handle of the command-buffer object.
11506+ ur_exp_command_buffer_handle_t hCommandBuffer,
1150711507 /// [in] Size of the event wait list.
1150811508 uint32_t numEventsInWaitList,
1150911509 /// [in][optional][range(0, numEventsInWaitList)] pointer to a list of
@@ -14052,6 +14052,18 @@ typedef struct ur_enqueue_usm_free_exp_params_t {
1405214052 ur_event_handle_t **pphEvent;
1405314053} ur_enqueue_usm_free_exp_params_t;
1405414054
14055+ ///////////////////////////////////////////////////////////////////////////////
14056+ /// @brief Function parameters for urEnqueueCommandBufferExp
14057+ /// @details Each entry is a pointer to the parameter passed to the function;
14058+ /// allowing the callback the ability to modify the parameter's value
14059+ typedef struct ur_enqueue_command_buffer_exp_params_t {
14060+ ur_queue_handle_t *phQueue;
14061+ ur_exp_command_buffer_handle_t *phCommandBuffer;
14062+ uint32_t *pnumEventsInWaitList;
14063+ const ur_event_handle_t **pphEventWaitList;
14064+ ur_event_handle_t **pphEvent;
14065+ } ur_enqueue_command_buffer_exp_params_t;
14066+
1405514067///////////////////////////////////////////////////////////////////////////////
1405614068/// @brief Function parameters for urEnqueueCooperativeKernelLaunchExp
1405714069/// @details Each entry is a pointer to the parameter passed to the function;
@@ -14815,18 +14827,6 @@ typedef struct ur_command_buffer_append_usm_advise_exp_params_t {
1481514827 ur_exp_command_buffer_command_handle_t **pphCommand;
1481614828} ur_command_buffer_append_usm_advise_exp_params_t;
1481714829
14818- ///////////////////////////////////////////////////////////////////////////////
14819- /// @brief Function parameters for urCommandBufferEnqueueExp
14820- /// @details Each entry is a pointer to the parameter passed to the function;
14821- /// allowing the callback the ability to modify the parameter's value
14822- typedef struct ur_command_buffer_enqueue_exp_params_t {
14823- ur_exp_command_buffer_handle_t *phCommandBuffer;
14824- ur_queue_handle_t *phQueue;
14825- uint32_t *pnumEventsInWaitList;
14826- const ur_event_handle_t **pphEventWaitList;
14827- ur_event_handle_t **pphEvent;
14828- } ur_command_buffer_enqueue_exp_params_t;
14829-
1483014830///////////////////////////////////////////////////////////////////////////////
1483114831/// @brief Function parameters for urCommandBufferUpdateKernelLaunchExp
1483214832/// @details Each entry is a pointer to the parameter passed to the function;
0 commit comments