@@ -417,6 +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,
420422 /// Enumerator for ::urCommandBufferUpdateSignalEventExp
421423 UR_FUNCTION_COMMAND_BUFFER_UPDATE_SIGNAL_EVENT_EXP = 243,
422424 /// Enumerator for ::urCommandBufferUpdateWaitEventsExp
@@ -427,8 +429,6 @@ typedef enum ur_function_t {
427429 UR_FUNCTION_ENQUEUE_EVENTS_WAIT_WITH_BARRIER_EXT = 246,
428430 /// Enumerator for ::urPhysicalMemGetInfo
429431 UR_FUNCTION_PHYSICAL_MEM_GET_INFO = 249,
430- /// Enumerator for ::urEnqueueCommandBufferExp
431- UR_FUNCTION_ENQUEUE_COMMAND_BUFFER_EXP = 250,
432432 /// @cond
433433 UR_FUNCTION_FORCE_UINT32 = 0x7fffffff
434434 /// @endcond
@@ -7044,8 +7044,8 @@ typedef enum ur_command_t {
70447044 UR_COMMAND_READ_HOST_PIPE = 25,
70457045 /// Event created by ::urEnqueueWriteHostPipe
70467046 UR_COMMAND_WRITE_HOST_PIPE = 26,
7047- /// Event created by ::urEnqueueCommandBufferExp
7048- UR_COMMAND_ENQUEUE_COMMAND_BUFFER_EXP = 0x1000,
7047+ /// Event created by ::urCommandBufferEnqueueExp
7048+ UR_COMMAND_COMMAND_BUFFER_ENQUEUE_EXP = 0x1000,
70497049 /// Event created by ::urBindlessImagesWaitExternalSemaphoreExp
70507050 UR_COMMAND_EXTERNAL_SEMAPHORE_WAIT_EXP = 0x2000,
70517051 /// Event created by ::urBindlessImagesSignalExternalSemaphoreExp
@@ -11001,8 +11001,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
1100111001/// - ::UR_RESULT_ERROR_DEVICE_LOST
1100211002/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
1100311003/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
11004- /// + `NULL == hQueue`
1100511004/// + `NULL == hCommandBuffer`
11005+ /// + `NULL == hQueue`
1100611006/// - ::UR_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
1100711007/// - ::UR_RESULT_ERROR_INVALID_QUEUE
1100811008/// - ::UR_RESULT_ERROR_INVALID_EVENT
@@ -11012,11 +11012,11 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
1101211012/// + If event objects in phEventWaitList are not valid events.
1101311013/// - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
1101411014/// - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
11015- UR_APIEXPORT ur_result_t UR_APICALL urEnqueueCommandBufferExp(
11016- /// [in] The queue to submit this command-buffer for execution.
11017- ur_queue_handle_t hQueue,
11015+ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferEnqueueExp(
1101811016 /// [in] Handle of the command-buffer object.
1101911017 ur_exp_command_buffer_handle_t hCommandBuffer,
11018+ /// [in] The queue to submit this command-buffer for execution.
11019+ ur_queue_handle_t hQueue,
1102011020 /// [in] Size of the event wait list.
1102111021 uint32_t numEventsInWaitList,
1102211022 /// [in][optional][range(0, numEventsInWaitList)] pointer to a list of
@@ -13495,18 +13495,6 @@ typedef struct ur_enqueue_events_wait_with_barrier_ext_params_t {
1349513495 ur_event_handle_t **pphEvent;
1349613496} ur_enqueue_events_wait_with_barrier_ext_params_t;
1349713497
13498- ///////////////////////////////////////////////////////////////////////////////
13499- /// @brief Function parameters for urEnqueueCommandBufferExp
13500- /// @details Each entry is a pointer to the parameter passed to the function;
13501- /// allowing the callback the ability to modify the parameter's value
13502- typedef struct ur_enqueue_command_buffer_exp_params_t {
13503- ur_queue_handle_t *phQueue;
13504- ur_exp_command_buffer_handle_t *phCommandBuffer;
13505- uint32_t *pnumEventsInWaitList;
13506- const ur_event_handle_t **pphEventWaitList;
13507- ur_event_handle_t **pphEvent;
13508- } ur_enqueue_command_buffer_exp_params_t;
13509-
1351013498///////////////////////////////////////////////////////////////////////////////
1351113499/// @brief Function parameters for urEnqueueCooperativeKernelLaunchExp
1351213500/// @details Each entry is a pointer to the parameter passed to the function;
@@ -14186,6 +14174,18 @@ typedef struct ur_command_buffer_append_usm_advise_exp_params_t {
1418614174 ur_exp_command_buffer_command_handle_t **pphCommand;
1418714175} ur_command_buffer_append_usm_advise_exp_params_t;
1418814176
14177+ ///////////////////////////////////////////////////////////////////////////////
14178+ /// @brief Function parameters for urCommandBufferEnqueueExp
14179+ /// @details Each entry is a pointer to the parameter passed to the function;
14180+ /// allowing the callback the ability to modify the parameter's value
14181+ typedef struct ur_command_buffer_enqueue_exp_params_t {
14182+ ur_exp_command_buffer_handle_t *phCommandBuffer;
14183+ ur_queue_handle_t *phQueue;
14184+ uint32_t *pnumEventsInWaitList;
14185+ const ur_event_handle_t **pphEventWaitList;
14186+ ur_event_handle_t **pphEvent;
14187+ } ur_command_buffer_enqueue_exp_params_t;
14188+
1418914189///////////////////////////////////////////////////////////////////////////////
1419014190/// @brief Function parameters for urCommandBufferUpdateKernelLaunchExp
1419114191/// @details Each entry is a pointer to the parameter passed to the function;
0 commit comments