@@ -417,8 +417,6 @@ typedef enum ur_function_t {
417
417
UR_FUNCTION_COMMAND_BUFFER_APPEND_USM_PREFETCH_EXP = 240,
418
418
/// Enumerator for ::urCommandBufferAppendUSMAdviseExp
419
419
UR_FUNCTION_COMMAND_BUFFER_APPEND_USM_ADVISE_EXP = 241,
420
- /// Enumerator for ::urCommandBufferEnqueueExp
421
- UR_FUNCTION_COMMAND_BUFFER_ENQUEUE_EXP = 242,
422
420
/// Enumerator for ::urCommandBufferUpdateSignalEventExp
423
421
UR_FUNCTION_COMMAND_BUFFER_UPDATE_SIGNAL_EVENT_EXP = 243,
424
422
/// Enumerator for ::urCommandBufferUpdateWaitEventsExp
@@ -429,6 +427,8 @@ typedef enum ur_function_t {
429
427
UR_FUNCTION_ENQUEUE_EVENTS_WAIT_WITH_BARRIER_EXT = 246,
430
428
/// Enumerator for ::urPhysicalMemGetInfo
431
429
UR_FUNCTION_PHYSICAL_MEM_GET_INFO = 249,
430
+ /// Enumerator for ::urEnqueueCommandBufferExp
431
+ UR_FUNCTION_ENQUEUE_COMMAND_BUFFER_EXP = 250,
432
432
/// @cond
433
433
UR_FUNCTION_FORCE_UINT32 = 0x7fffffff
434
434
/// @endcond
@@ -7045,8 +7045,8 @@ typedef enum ur_command_t {
7045
7045
UR_COMMAND_READ_HOST_PIPE = 25,
7046
7046
/// Event created by ::urEnqueueWriteHostPipe
7047
7047
UR_COMMAND_WRITE_HOST_PIPE = 26,
7048
- /// Event created by ::urCommandBufferEnqueueExp
7049
- UR_COMMAND_COMMAND_BUFFER_ENQUEUE_EXP = 0x1000,
7048
+ /// Event created by ::urEnqueueCommandBufferExp
7049
+ UR_COMMAND_ENQUEUE_COMMAND_BUFFER_EXP = 0x1000,
7050
7050
/// Event created by ::urBindlessImagesWaitExternalSemaphoreExp
7051
7051
UR_COMMAND_EXTERNAL_SEMAPHORE_WAIT_EXP = 0x2000,
7052
7052
/// Event created by ::urBindlessImagesSignalExternalSemaphoreExp
@@ -11009,8 +11009,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
11009
11009
/// - ::UR_RESULT_ERROR_DEVICE_LOST
11010
11010
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
11011
11011
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
11012
- /// + `NULL == hCommandBuffer`
11013
11012
/// + `NULL == hQueue`
11013
+ /// + `NULL == hCommandBuffer`
11014
11014
/// - ::UR_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
11015
11015
/// - ::UR_RESULT_ERROR_INVALID_QUEUE
11016
11016
/// - ::UR_RESULT_ERROR_INVALID_EVENT
@@ -11020,11 +11020,11 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
11020
11020
/// + If event objects in phEventWaitList are not valid events.
11021
11021
/// - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
11022
11022
/// - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
11023
- UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferEnqueueExp(
11024
- /// [in] Handle of the command-buffer object.
11025
- ur_exp_command_buffer_handle_t hCommandBuffer,
11023
+ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueCommandBufferExp(
11026
11024
/// [in] The queue to submit this command-buffer for execution.
11027
11025
ur_queue_handle_t hQueue,
11026
+ /// [in] Handle of the command-buffer object.
11027
+ ur_exp_command_buffer_handle_t hCommandBuffer,
11028
11028
/// [in] Size of the event wait list.
11029
11029
uint32_t numEventsInWaitList,
11030
11030
/// [in][optional][range(0, numEventsInWaitList)] pointer to a list of
@@ -13505,6 +13505,18 @@ typedef struct ur_enqueue_events_wait_with_barrier_ext_params_t {
13505
13505
ur_event_handle_t **pphEvent;
13506
13506
} ur_enqueue_events_wait_with_barrier_ext_params_t;
13507
13507
13508
+ ///////////////////////////////////////////////////////////////////////////////
13509
+ /// @brief Function parameters for urEnqueueCommandBufferExp
13510
+ /// @details Each entry is a pointer to the parameter passed to the function;
13511
+ /// allowing the callback the ability to modify the parameter's value
13512
+ typedef struct ur_enqueue_command_buffer_exp_params_t {
13513
+ ur_queue_handle_t *phQueue;
13514
+ ur_exp_command_buffer_handle_t *phCommandBuffer;
13515
+ uint32_t *pnumEventsInWaitList;
13516
+ const ur_event_handle_t **pphEventWaitList;
13517
+ ur_event_handle_t **pphEvent;
13518
+ } ur_enqueue_command_buffer_exp_params_t;
13519
+
13508
13520
///////////////////////////////////////////////////////////////////////////////
13509
13521
/// @brief Function parameters for urEnqueueCooperativeKernelLaunchExp
13510
13522
/// @details Each entry is a pointer to the parameter passed to the function;
@@ -14184,18 +14196,6 @@ typedef struct ur_command_buffer_append_usm_advise_exp_params_t {
14184
14196
ur_exp_command_buffer_command_handle_t **pphCommand;
14185
14197
} ur_command_buffer_append_usm_advise_exp_params_t;
14186
14198
14187
- ///////////////////////////////////////////////////////////////////////////////
14188
- /// @brief Function parameters for urCommandBufferEnqueueExp
14189
- /// @details Each entry is a pointer to the parameter passed to the function;
14190
- /// allowing the callback the ability to modify the parameter's value
14191
- typedef struct ur_command_buffer_enqueue_exp_params_t {
14192
- ur_exp_command_buffer_handle_t *phCommandBuffer;
14193
- ur_queue_handle_t *phQueue;
14194
- uint32_t *pnumEventsInWaitList;
14195
- const ur_event_handle_t **pphEventWaitList;
14196
- ur_event_handle_t **pphEvent;
14197
- } ur_command_buffer_enqueue_exp_params_t;
14198
-
14199
14199
///////////////////////////////////////////////////////////////////////////////
14200
14200
/// @brief Function parameters for urCommandBufferUpdateKernelLaunchExp
14201
14201
/// @details Each entry is a pointer to the parameter passed to the function;
0 commit comments