@@ -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
@@ -11011,8 +11011,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
11011
11011
/// - ::UR_RESULT_ERROR_DEVICE_LOST
11012
11012
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
11013
11013
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
11014
- /// + `NULL == hCommandBuffer`
11015
11014
/// + `NULL == hQueue`
11015
+ /// + `NULL == hCommandBuffer`
11016
11016
/// - ::UR_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
11017
11017
/// - ::UR_RESULT_ERROR_INVALID_QUEUE
11018
11018
/// - ::UR_RESULT_ERROR_INVALID_EVENT
@@ -11022,11 +11022,11 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
11022
11022
/// + If event objects in phEventWaitList are not valid events.
11023
11023
/// - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
11024
11024
/// - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
11025
- UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferEnqueueExp(
11026
- /// [in] Handle of the command-buffer object.
11027
- ur_exp_command_buffer_handle_t hCommandBuffer,
11025
+ UR_APIEXPORT ur_result_t UR_APICALL urEnqueueCommandBufferExp(
11028
11026
/// [in] The queue to submit this command-buffer for execution.
11029
11027
ur_queue_handle_t hQueue,
11028
+ /// [in] Handle of the command-buffer object.
11029
+ ur_exp_command_buffer_handle_t hCommandBuffer,
11030
11030
/// [in] Size of the event wait list.
11031
11031
uint32_t numEventsInWaitList,
11032
11032
/// [in][optional][range(0, numEventsInWaitList)] pointer to a list of
@@ -13507,6 +13507,18 @@ typedef struct ur_enqueue_events_wait_with_barrier_ext_params_t {
13507
13507
ur_event_handle_t **pphEvent;
13508
13508
} ur_enqueue_events_wait_with_barrier_ext_params_t;
13509
13509
13510
+ ///////////////////////////////////////////////////////////////////////////////
13511
+ /// @brief Function parameters for urEnqueueCommandBufferExp
13512
+ /// @details Each entry is a pointer to the parameter passed to the function;
13513
+ /// allowing the callback the ability to modify the parameter's value
13514
+ typedef struct ur_enqueue_command_buffer_exp_params_t {
13515
+ ur_queue_handle_t *phQueue;
13516
+ ur_exp_command_buffer_handle_t *phCommandBuffer;
13517
+ uint32_t *pnumEventsInWaitList;
13518
+ const ur_event_handle_t **pphEventWaitList;
13519
+ ur_event_handle_t **pphEvent;
13520
+ } ur_enqueue_command_buffer_exp_params_t;
13521
+
13510
13522
///////////////////////////////////////////////////////////////////////////////
13511
13523
/// @brief Function parameters for urEnqueueCooperativeKernelLaunchExp
13512
13524
/// @details Each entry is a pointer to the parameter passed to the function;
@@ -14186,18 +14198,6 @@ typedef struct ur_command_buffer_append_usm_advise_exp_params_t {
14186
14198
ur_exp_command_buffer_command_handle_t **pphCommand;
14187
14199
} ur_command_buffer_append_usm_advise_exp_params_t;
14188
14200
14189
- ///////////////////////////////////////////////////////////////////////////////
14190
- /// @brief Function parameters for urCommandBufferEnqueueExp
14191
- /// @details Each entry is a pointer to the parameter passed to the function;
14192
- /// allowing the callback the ability to modify the parameter's value
14193
- typedef struct ur_command_buffer_enqueue_exp_params_t {
14194
- ur_exp_command_buffer_handle_t *phCommandBuffer;
14195
- ur_queue_handle_t *phQueue;
14196
- uint32_t *pnumEventsInWaitList;
14197
- const ur_event_handle_t **pphEventWaitList;
14198
- ur_event_handle_t **pphEvent;
14199
- } ur_command_buffer_enqueue_exp_params_t;
14200
-
14201
14201
///////////////////////////////////////////////////////////////////////////////
14202
14202
/// @brief Function parameters for urCommandBufferUpdateKernelLaunchExp
14203
14203
/// @details Each entry is a pointer to the parameter passed to the function;
0 commit comments