@@ -417,8 +417,8 @@ 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,
420
+ /// Enumerator for ::urEnqueueCommandBufferExp
421
+ UR_FUNCTION_ENQUEUE_COMMAND_BUFFER_EXP = 242,
422
422
/// Enumerator for ::urCommandBufferUpdateSignalEventExp
423
423
UR_FUNCTION_COMMAND_BUFFER_UPDATE_SIGNAL_EVENT_EXP = 243,
424
424
/// Enumerator for ::urCommandBufferUpdateWaitEventsExp
@@ -7095,8 +7095,8 @@ typedef enum ur_command_t {
7095
7095
UR_COMMAND_READ_HOST_PIPE = 25,
7096
7096
/// Event created by ::urEnqueueWriteHostPipe
7097
7097
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,
7100
7100
/// Event created by ::urBindlessImagesWaitExternalSemaphoreExp
7101
7101
UR_COMMAND_EXTERNAL_SEMAPHORE_WAIT_EXP = 0x2000,
7102
7102
/// Event created by ::urBindlessImagesSignalExternalSemaphoreExp
@@ -11488,8 +11488,8 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
11488
11488
/// - ::UR_RESULT_ERROR_DEVICE_LOST
11489
11489
/// - ::UR_RESULT_ERROR_ADAPTER_SPECIFIC
11490
11490
/// - ::UR_RESULT_ERROR_INVALID_NULL_HANDLE
11491
- /// + `NULL == hCommandBuffer`
11492
11491
/// + `NULL == hQueue`
11492
+ /// + `NULL == hCommandBuffer`
11493
11493
/// - ::UR_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
11494
11494
/// - ::UR_RESULT_ERROR_INVALID_QUEUE
11495
11495
/// - ::UR_RESULT_ERROR_INVALID_EVENT
@@ -11499,11 +11499,11 @@ UR_APIEXPORT ur_result_t UR_APICALL urCommandBufferAppendUSMAdviseExp(
11499
11499
/// + If event objects in phEventWaitList are not valid events.
11500
11500
/// - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
11501
11501
/// - ::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(
11505
11503
/// [in] The queue to submit this command-buffer for execution.
11506
11504
ur_queue_handle_t hQueue,
11505
+ /// [in] Handle of the command-buffer object.
11506
+ ur_exp_command_buffer_handle_t hCommandBuffer,
11507
11507
/// [in] Size of the event wait list.
11508
11508
uint32_t numEventsInWaitList,
11509
11509
/// [in][optional][range(0, numEventsInWaitList)] pointer to a list of
@@ -14052,6 +14052,18 @@ typedef struct ur_enqueue_usm_free_exp_params_t {
14052
14052
ur_event_handle_t **pphEvent;
14053
14053
} ur_enqueue_usm_free_exp_params_t;
14054
14054
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
+
14055
14067
///////////////////////////////////////////////////////////////////////////////
14056
14068
/// @brief Function parameters for urEnqueueCooperativeKernelLaunchExp
14057
14069
/// @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 {
14815
14827
ur_exp_command_buffer_command_handle_t **pphCommand;
14816
14828
} ur_command_buffer_append_usm_advise_exp_params_t;
14817
14829
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
-
14830
14830
///////////////////////////////////////////////////////////////////////////////
14831
14831
/// @brief Function parameters for urCommandBufferUpdateKernelLaunchExp
14832
14832
/// @details Each entry is a pointer to the parameter passed to the function;
0 commit comments