@@ -272,7 +272,6 @@ typedef enum ur_structure_type_t {
272
272
UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_MEMOBJ_ARG_DESC = 0x1002, ///< ::ur_exp_command_buffer_update_memobj_arg_desc_t
273
273
UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_POINTER_ARG_DESC = 0x1003, ///< ::ur_exp_command_buffer_update_pointer_arg_desc_t
274
274
UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_VALUE_ARG_DESC = 0x1004, ///< ::ur_exp_command_buffer_update_value_arg_desc_t
275
- UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_EXEC_INFO_DESC = 0x1005, ///< ::ur_exp_command_buffer_update_exec_info_desc_t
276
275
UR_STRUCTURE_TYPE_EXP_SAMPLER_MIP_PROPERTIES = 0x2000, ///< ::ur_exp_sampler_mip_properties_t
277
276
UR_STRUCTURE_TYPE_EXP_INTEROP_MEM_DESC = 0x2001, ///< ::ur_exp_interop_mem_desc_t
278
277
UR_STRUCTURE_TYPE_EXP_INTEROP_SEMAPHORE_DESC = 0x2002, ///< ::ur_exp_interop_semaphore_desc_t
@@ -1547,7 +1546,7 @@ typedef enum ur_device_info_t {
1547
1546
///< shared memory access
1548
1547
UR_DEVICE_INFO_USM_SYSTEM_SHARED_SUPPORT = 87, ///< [::ur_device_usm_access_capability_flags_t] support USM system wide
1549
1548
///< shared memory access
1550
- UR_DEVICE_INFO_UUID = 88, ///< [char []] return device UUID
1549
+ UR_DEVICE_INFO_UUID = 88, ///< [uint8_t []] return device UUID
1551
1550
UR_DEVICE_INFO_PCI_ADDRESS = 89, ///< [char[]] return device PCI address
1552
1551
UR_DEVICE_INFO_GPU_EU_COUNT = 90, ///< [uint32_t] return Intel GPU EU count
1553
1552
UR_DEVICE_INFO_GPU_EU_SIMD_WIDTH = 91, ///< [uint32_t] return Intel GPU EU SIMD width
@@ -8025,19 +8024,6 @@ typedef struct ur_exp_command_buffer_update_value_arg_desc_t {
8025
8024
8026
8025
} ur_exp_command_buffer_update_value_arg_desc_t;
8027
8026
8028
- ///////////////////////////////////////////////////////////////////////////////
8029
- /// @brief Descriptor type for updating kernel command execution info.
8030
- typedef struct ur_exp_command_buffer_update_exec_info_desc_t {
8031
- ur_structure_type_t stype; ///< [in] type of this structure, must be
8032
- ///< ::UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_UPDATE_EXEC_INFO_DESC
8033
- const void *pNext; ///< [in][optional] pointer to extension-specific structure
8034
- ur_kernel_exec_info_t propName; ///< [in] Name of execution attribute.
8035
- size_t propSize; ///< [in] Size of execution attribute.
8036
- const ur_kernel_exec_info_properties_t *pProperties; ///< [in][optional] Pointer to execution info properties.
8037
- const void *pNewExecInfo; ///< [in] Pointer to memory location holding the execution info value.
8038
-
8039
- } ur_exp_command_buffer_update_exec_info_desc_t;
8040
-
8041
8027
///////////////////////////////////////////////////////////////////////////////
8042
8028
/// @brief Descriptor type for updating a kernel launch command.
8043
8029
typedef struct ur_exp_command_buffer_update_kernel_launch_desc_t {
@@ -8047,24 +8033,23 @@ typedef struct ur_exp_command_buffer_update_kernel_launch_desc_t {
8047
8033
uint32_t numNewMemObjArgs; ///< [in] Length of pNewMemObjArgList.
8048
8034
uint32_t numNewPointerArgs; ///< [in] Length of pNewPointerArgList.
8049
8035
uint32_t numNewValueArgs; ///< [in] Length of pNewValueArgList.
8050
- uint32_t numNewExecInfos; ///< [in] Length of pNewExecInfoList.
8051
8036
uint32_t newWorkDim; ///< [in] Number of work dimensions in the kernel ND-range, from 1-3.
8052
8037
const ur_exp_command_buffer_update_memobj_arg_desc_t *pNewMemObjArgList; ///< [in][optional][range(0, numNewMemObjArgs)] An array describing the new
8053
8038
///< kernel mem obj arguments for the command.
8054
8039
const ur_exp_command_buffer_update_pointer_arg_desc_t *pNewPointerArgList; ///< [in][optional][range(0, numNewPointerArgs)] An array describing the
8055
8040
///< new kernel pointer arguments for the command.
8056
8041
const ur_exp_command_buffer_update_value_arg_desc_t *pNewValueArgList; ///< [in][optional][range(0, numNewValueArgs)] An array describing the new
8057
8042
///< kernel value arguments for the command.
8058
- const ur_exp_command_buffer_update_exec_info_desc_t *pNewExecInfoList; ///< [in][optional][range(0, numNewExecInfos)] An array describing the
8059
- ///< execution info objects for the command.
8060
8043
size_t *pNewGlobalWorkOffset; ///< [in][optional][range(0, newWorkDim)] Array of newWorkDim unsigned
8061
8044
///< values that describe the offset used to calculate the global ID.
8062
8045
size_t *pNewGlobalWorkSize; ///< [in][optional][range(0, newWorkDim)] Array of newWorkDim unsigned
8063
8046
///< values that describe the number of global work-items.
8064
8047
size_t *pNewLocalWorkSize; ///< [in][optional][range(0, newWorkDim)] Array of newWorkDim unsigned
8065
8048
///< values that describe the number of work-items that make up a
8066
- ///< work-group. If nullptr, the runtime implementation will choose the
8067
- ///< work-group size.
8049
+ ///< work-group. If newWorkDim is non-zero and pNewLocalWorkSize is
8050
+ ///< nullptr, then runtime implementation will choose the work-group size.
8051
+ ///< If newWorkDim is zero and pNewLocalWorkSize is nullptr, then the local
8052
+ ///< work size is unchanged.
8068
8053
8069
8054
} ur_exp_command_buffer_update_kernel_launch_desc_t;
8070
8055
@@ -8099,6 +8084,8 @@ typedef struct ur_exp_command_buffer_command_handle_t_ *ur_exp_command_buffer_co
8099
8084
/// + `NULL == phCommandBuffer`
8100
8085
/// - ::UR_RESULT_ERROR_INVALID_CONTEXT
8101
8086
/// - ::UR_RESULT_ERROR_INVALID_DEVICE
8087
+ /// - ::UR_RESULT_ERROR_INVALID_OPERATION
8088
+ /// + If `pCommandBufferDesc->isUpdatable` is true and `hDevice` does not support UR_DEVICE_INFO_COMMAND_BUFFER_UPDATE_SUPPORT_EXP.
8102
8089
/// - ::UR_RESULT_ERROR_OUT_OF_HOST_MEMORY
8103
8090
/// - ::UR_RESULT_ERROR_OUT_OF_RESOURCES
8104
8091
UR_APIEXPORT ur_result_t UR_APICALL
@@ -8179,7 +8166,6 @@ urCommandBufferFinalizeExp(
8179
8166
/// - ::UR_RESULT_ERROR_INVALID_NULL_POINTER
8180
8167
/// + `NULL == pGlobalWorkOffset`
8181
8168
/// + `NULL == pGlobalWorkSize`
8182
- /// + `NULL == pLocalWorkSize`
8183
8169
/// - ::UR_RESULT_ERROR_INVALID_COMMAND_BUFFER_EXP
8184
8170
/// - ::UR_RESULT_ERROR_INVALID_KERNEL
8185
8171
/// - ::UR_RESULT_ERROR_INVALID_WORK_DIMENSION
@@ -8198,7 +8184,7 @@ urCommandBufferAppendKernelLaunchExp(
8198
8184
uint32_t workDim, ///< [in] Dimension of the kernel execution.
8199
8185
const size_t *pGlobalWorkOffset, ///< [in] Offset to use when executing kernel.
8200
8186
const size_t *pGlobalWorkSize, ///< [in] Global work size to use when executing kernel.
8201
- const size_t *pLocalWorkSize, ///< [in] Local work size to use when executing kernel.
8187
+ const size_t *pLocalWorkSize, ///< [in][optional] Local work size to use when executing kernel.
8202
8188
uint32_t numSyncPointsInWaitList, ///< [in] The number of sync points in the provided dependency list.
8203
8189
const ur_exp_command_buffer_sync_point_t *pSyncPointWaitList, ///< [in][optional] A list of sync points that this command depends on.
8204
8190
ur_exp_command_buffer_sync_point_t *pSyncPoint, ///< [out][optional] Sync point associated with this command.
@@ -8700,6 +8686,10 @@ urCommandBufferReleaseCommandExp(
8700
8686
/// - ::UR_RESULT_ERROR_INVALID_OPERATION
8701
8687
/// + If ::ur_exp_command_buffer_desc_t::isUpdatable was not set to true on creation of the command buffer `hCommand` belongs to.
8702
8688
/// + If the command-buffer `hCommand` belongs to has not been finalized.
8689
+ /// + If `pUpdateKernellaunch->newWorkDim` is non-zero and different from the work-dim used on creation of `hCommand`.
8690
+ /// + If `pUpdateKernellaunch->newWorkDim` is non-zero and `pUpdateKernelLaunch->pNewLocalWorkSize` is set to a non-NULL value and `pUpdateKernelLaunch->pNewGlobalWorkSize` is NULL.
8691
+ /// + If `pUpdateKernellaunch->newWorkDim` is non-zero and `pUpdateKernelLaunch->pNewLocalWorkSize` is set to a non-NULL value when `hCommand` was created with a NULL local work size.
8692
+ /// + If `pUpdateKernellaunch->newWorkDim` is non-zero and `pUpdateKernelLaunch->pNewLocalWorkSize` is set to a NULL value when `hCommand` was created with a non-NULL local work size.
8703
8693
/// - ::UR_RESULT_ERROR_INVALID_COMMAND_BUFFER_COMMAND_HANDLE_EXP
8704
8694
/// - ::UR_RESULT_ERROR_INVALID_MEM_OBJECT
8705
8695
/// - ::UR_RESULT_ERROR_INVALID_KERNEL_ARGUMENT_INDEX
0 commit comments