Skip to content

Commit 643e9f8

Browse files
committed
Bump compute runtime tag to 25.44.36015.5
1 parent cf4000e commit 643e9f8

17 files changed

+635
-549
lines changed

unified-runtime/cmake/FetchLevelZero.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ if(L0_COMPUTE_RUNTIME_HEADERS)
130130
set(COMPUTE_RUNTIME_REPO_PATH "${L0_COMPUTE_RUNTIME_HEADERS}")
131131
else()
132132
set(UR_COMPUTE_RUNTIME_REPO "https://github.com/intel/compute-runtime.git")
133-
set(UR_COMPUTE_RUNTIME_TAG 25.35.35096.9)
133+
set(UR_COMPUTE_RUNTIME_TAG 25.44.36015.5)
134134

135135
include(FetchContent)
136136
# Sparse fetch only the dir with level zero headers for experimental features to avoid pulling in the entire compute-runtime.

unified-runtime/source/adapters/level_zero/external/driver_experimental/mcl_ext/ze_mutable_command_list_exp.h

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,33 +11,29 @@
1111

1212
typedef ze_result_t(ZE_APICALL *ze_pfnCommandListGetNextCommandIdExpCb_t)(
1313
ze_command_list_handle_t hCommandList,
14-
const ze_mutable_command_id_exp_desc_t *desc,
15-
uint64_t *pCommandId);
14+
const ze_mutable_command_id_exp_desc_t *desc, uint64_t *pCommandId);
1615

1716
typedef ze_result_t(ZE_APICALL *ze_pfnCommandListUpdateMutableCommandsExpCb_t)(
1817
ze_command_list_handle_t hCommandList,
1918
const ze_mutable_commands_exp_desc_t *desc);
2019

21-
typedef ze_result_t(ZE_APICALL *ze_pfnCommandListUpdateMutableCommandSignalEventExpCb_t)(
22-
ze_command_list_handle_t hCommandList,
23-
uint64_t commandId,
20+
typedef ze_result_t(
21+
ZE_APICALL *ze_pfnCommandListUpdateMutableCommandSignalEventExpCb_t)(
22+
ze_command_list_handle_t hCommandList, uint64_t commandId,
2423
ze_event_handle_t hSignalEvent);
2524

26-
typedef ze_result_t(ZE_APICALL *ze_pfnCommandListUpdateMutableCommandWaitEventsExpCb_t)(
27-
ze_command_list_handle_t hCommandList,
28-
uint64_t commandId,
29-
uint32_t numWaitEvents,
30-
ze_event_handle_t *phWaitEvents);
25+
typedef ze_result_t(
26+
ZE_APICALL *ze_pfnCommandListUpdateMutableCommandWaitEventsExpCb_t)(
27+
ze_command_list_handle_t hCommandList, uint64_t commandId,
28+
uint32_t numWaitEvents, ze_event_handle_t *phWaitEvents);
3129

32-
typedef ze_result_t(ZE_APICALL *ze_pfnCommandListGetNextCommandIdWithKernelsExpCb_t)(
30+
typedef ze_result_t(
31+
ZE_APICALL *ze_pfnCommandListGetNextCommandIdWithKernelsExpCb_t)(
3332
ze_command_list_handle_t hCommandList,
34-
const ze_mutable_command_id_exp_desc_t *desc,
35-
uint32_t numKernels,
36-
ze_kernel_handle_t *phKernels,
37-
uint64_t *pCommandId);
33+
const ze_mutable_command_id_exp_desc_t *desc, uint32_t numKernels,
34+
ze_kernel_handle_t *phKernels, uint64_t *pCommandId);
3835

39-
typedef ze_result_t(ZE_APICALL *ze_pfnCommandListUpdateMutableCommandKernelsExpCb_t)(
40-
ze_command_list_handle_t hCommandList,
41-
uint32_t numKernels,
42-
uint64_t *pCommandId,
43-
ze_kernel_handle_t *phKernels);
36+
typedef ze_result_t(
37+
ZE_APICALL *ze_pfnCommandListUpdateMutableCommandKernelsExpCb_t)(
38+
ze_command_list_handle_t hCommandList, uint32_t numKernels,
39+
uint64_t *pCommandId, ze_kernel_handle_t *phKernels);

unified-runtime/source/adapters/level_zero/external/driver_experimental/mcl_ext/zex_mutable_cmdlist_control_flow_ext.h

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,39 @@ typedef struct _zex_label_handle_t *zex_label_handle_t;
1717
///////////////////////////////////////////////////////////////////////////////
1818
/// @brief Label descriptor.
1919
typedef struct _zex_label_desc_t {
20-
ze_structure_type_ext_t stype = ZEX_STRUCTURE_TYPE_LABEL_DESCRIPTOR; ///< [in] type of this structure
21-
const void *pNext = nullptr; ///< [in][optional] pointer to extension-specific structure
20+
ze_structure_type_ext_t stype =
21+
ZEX_STRUCTURE_TYPE_LABEL_DESCRIPTOR; ///< [in] type of this structure
22+
const void *pNext =
23+
nullptr; ///< [in][optional] pointer to extension-specific structure
2224

23-
const char *name; ///< [in][optional] null-terminated name of the label
24-
uint32_t alignment; ///< [in][optional] minimum alignment of the label
25+
const char *name; ///< [in][optional] null-terminated name of the label
26+
uint32_t alignment; ///< [in][optional] minimum alignment of the label
2527
} zex_label_desc_t;
2628

2729
///////////////////////////////////////////////////////////////////////////////
2830
/// @brief Operand flags
2931
typedef uint32_t zex_operand_flags_t;
3032
typedef enum _zex_operand_flag_t {
31-
ZEX_OPERAND_FLAG_USES_VARIABLE = ZE_BIT(0), // variable is being used - passed via memory
32-
ZEX_OPERAND_FLAG_JUMP_ON_CLEAR = ZE_BIT(1) // jump on '0', instead of default '1'
33+
ZEX_OPERAND_FLAG_USES_VARIABLE =
34+
ZE_BIT(0), // variable is being used - passed via memory
35+
ZEX_OPERAND_FLAG_JUMP_ON_CLEAR =
36+
ZE_BIT(1) // jump on '0', instead of default '1'
3337
} zex_operand_flag_t;
3438

3539
///////////////////////////////////////////////////////////////////////////////
3640
/// @brief Operand descriptor.
3741
typedef struct _zex_operand_desc_t {
38-
ze_structure_type_ext_t stype = ZEX_STRUCTURE_TYPE_OPERAND_DESCRIPTOR; ///< [in] type of this structure
39-
const void *pNext = nullptr; ///< [in][optional] pointer to extension-specific structure
42+
ze_structure_type_ext_t stype =
43+
ZEX_STRUCTURE_TYPE_OPERAND_DESCRIPTOR; ///< [in] type of this structure
44+
const void *pNext =
45+
nullptr; ///< [in][optional] pointer to extension-specific structure
4046

41-
void *memory; // if memory is NULL then offset is interpreted as MMIO
42-
// if flag ZEX_OPERAND_FLAG_USES_VARIABLE is set memory is interpreted as variable
43-
size_t offset; // offset within memory or register MMIO
44-
uint32_t size; // operand size - dword
45-
zex_operand_flags_t flags; // flags
47+
void *memory; // if memory is NULL then offset is interpreted as MMIO
48+
// if flag ZEX_OPERAND_FLAG_USES_VARIABLE is set memory is
49+
// interpreted as variable
50+
size_t offset; // offset within memory or register MMIO
51+
uint32_t size; // operand size - dword
52+
zex_operand_flags_t flags; // flags
4653
} zex_operand_desc_t;
4754

4855
#if defined(__cplusplus)
@@ -67,8 +74,7 @@ extern "C" {
6774
/// + pLabelDesc->alignment & (pLabelDesc->alignment - 1) != 0
6875
/// - ZE_RESULT_ERROR_OUT_OF_HOST_MEMORY
6976
/// + bad_alloc
70-
ze_result_t ZE_APICALL
71-
zexCommandListGetLabel(
77+
ze_result_t ZE_APICALL zexCommandListGetLabel(
7278
ze_command_list_handle_t hCommandList, ///< [in] handle of command list
7379
const zex_label_desc_t *pLabelDesc, ///< [in] pointer to label descriptor
7480
zex_label_handle_t *phLabel ///< [out] pointer to handle of label
@@ -93,8 +99,7 @@ zexCommandListGetLabel(
9399
/// + variable already set
94100
/// - ZE_RESULT_ERROR_UNSUPPORTED_ALIGNMENT
95101
/// + label's address is not aligned to it's alignment
96-
ze_result_t ZE_APICALL
97-
zexCommandListSetLabel(
102+
ze_result_t ZE_APICALL zexCommandListSetLabel(
98103
ze_command_list_handle_t hCommandList, ///< [in] handle of command list
99104
zex_label_handle_t hLabel ///< [in] handle of label
100105
);
@@ -134,25 +139,21 @@ zexCommandListSetLabel(
134139
/// - ZE_RESULT_ERROR_INVALID_ARGUMENT
135140
/// + nullptr == hCommandList
136141
/// + nullptr == hLabel
137-
ze_result_t ZE_APICALL
138-
zexCommandListAppendJump(
142+
ze_result_t ZE_APICALL zexCommandListAppendJump(
139143
ze_command_list_handle_t hCommandList, ///< [in] handle of command list
140144
zex_label_handle_t hLabel, ///< [in] handle of label
141145
zex_operand_desc_t *pCondition ///< [in][opt] pointer to operand
142146
);
143147

144148
typedef ze_result_t(ZE_APICALL *zex_pfnCommandListGetLabelCb_t)(
145-
ze_command_list_handle_t hCommandList,
146-
const zex_label_desc_t *pLabelDesc,
149+
ze_command_list_handle_t hCommandList, const zex_label_desc_t *pLabelDesc,
147150
zex_label_handle_t *phLabel);
148151

149152
typedef ze_result_t(ZE_APICALL *zex_pfnCommandListSetLabelCb_t)(
150-
ze_command_list_handle_t hCommandList,
151-
zex_label_handle_t hLabel);
153+
ze_command_list_handle_t hCommandList, zex_label_handle_t hLabel);
152154

153155
typedef ze_result_t(ZE_APICALL *zex_pfnCommandListAppendJumpCb_t)(
154-
ze_command_list_handle_t hCommandList,
155-
zex_label_handle_t hLabel,
156+
ze_command_list_handle_t hCommandList, zex_label_handle_t hLabel,
156157
zex_operand_desc_t *pCondition);
157158

158159
#if defined(__cplusplus)

unified-runtime/source/adapters/level_zero/external/driver_experimental/mcl_ext/zex_mutable_cmdlist_dispatch_ext.h

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,34 +15,30 @@ extern "C" {
1515
#endif
1616
///////////////////////////////////////////////////////////////////////////////
1717
/// @brief Sets kernel group size to provided variable.
18-
ze_result_t ZE_APICALL
19-
zexKernelSetVariableGroupSize(
18+
ze_result_t ZE_APICALL zexKernelSetVariableGroupSize(
2019
ze_kernel_handle_t hKernel, ///< [in] handle of kernel
2120
zex_variable_handle_t hGroupSizeVariable ///< [in] handle of variable
2221
);
2322

2423
///////////////////////////////////////////////////////////////////////////////
2524
/// @brief Appends kernel launch to command list with variable group size.
26-
ze_result_t ZE_APICALL
27-
zexCommandListAppendVariableLaunchKernel(
28-
ze_command_list_handle_t hCommandList, ///< [in] hnadle of mutable command list
29-
ze_kernel_handle_t hKernel, ///< [in] handle of kernel
25+
ze_result_t ZE_APICALL zexCommandListAppendVariableLaunchKernel(
26+
ze_command_list_handle_t
27+
hCommandList, ///< [in] hnadle of mutable command list
28+
ze_kernel_handle_t hKernel, ///< [in] handle of kernel
3029
zex_variable_handle_t hGroupCountVariable, ///< [in] handle of variable
3130
ze_event_handle_t hSignalEvent, ///< [in] handle to signal event
3231
uint32_t numWaitEvents, ///< [in] num events to wait for
33-
ze_event_handle_t *phWaitEvents); ///< [in] array of events to wait for
32+
ze_event_handle_t *phWaitEvents); ///< [in] array of events to wait for
3433

3534
typedef ze_result_t(ZE_APICALL *zex_pfnKernelSetVariableGroupSizeCb_t)(
36-
ze_kernel_handle_t hKernel,
37-
zex_variable_handle_t hGroupSizeVariable);
35+
ze_kernel_handle_t hKernel, zex_variable_handle_t hGroupSizeVariable);
3836

39-
typedef ze_result_t(ZE_APICALL *zex_pfnCommandListAppendVariableLaunchKernelCb_t)(
40-
ze_command_list_handle_t hCommandList,
41-
ze_kernel_handle_t hKernel,
42-
zex_variable_handle_t hGroupCountVariable,
43-
ze_event_handle_t hSignalEvent,
44-
uint32_t numWaitEvents,
45-
ze_event_handle_t *phWaitEvents);
37+
typedef ze_result_t(
38+
ZE_APICALL *zex_pfnCommandListAppendVariableLaunchKernelCb_t)(
39+
ze_command_list_handle_t hCommandList, ze_kernel_handle_t hKernel,
40+
zex_variable_handle_t hGroupCountVariable, ze_event_handle_t hSignalEvent,
41+
uint32_t numWaitEvents, ze_event_handle_t *phWaitEvents);
4642

4743
#if defined(__cplusplus)
4844
} // extern "C"

unified-runtime/source/adapters/level_zero/external/driver_experimental/mcl_ext/zex_mutable_cmdlist_serialization_ext.h

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,34 +14,32 @@ extern "C" {
1414
#endif
1515
///////////////////////////////////////////////////////////////////////////////
1616
/// @brief Retrieve native MCL binary from cmdlist.
17-
ze_result_t ZE_APICALL
18-
zexCommandListGetNativeBinary(
19-
ze_command_list_handle_t hCommandList, ///< [in] handle of mutable command list
20-
void *pBinary, ///< [in,out][optional] byte pointer to native MCL binary
21-
size_t *pBinarySize, ///< [in,out] size of native MCL binary in bytes
22-
const void *pModule, ///< [in] byte pointer to module containing kernels' used in cmdlist
23-
size_t moduleSize ///< [in] size in bytes of module containing kernels's used in cmdlist
17+
ze_result_t ZE_APICALL zexCommandListGetNativeBinary(
18+
ze_command_list_handle_t
19+
hCommandList, ///< [in] handle of mutable command list
20+
void *pBinary, ///< [in,out][optional] byte pointer to native MCL binary
21+
size_t *pBinarySize, ///< [in,out] size of native MCL binary in bytes
22+
const void *pModule, ///< [in] byte pointer to module containing kernels'
23+
///< used in cmdlist
24+
size_t moduleSize ///< [in] size in bytes of module containing kernels's
25+
///< used in cmdlist
2426
);
2527

2628
///////////////////////////////////////////////////////////////////////////////
2729
/// @brief Load command list from native MCL binary.
28-
ze_result_t ZE_APICALL
29-
zexCommandListLoadNativeBinary(
30-
ze_command_list_handle_t hCommandList, ///< [in] handle of mutable command list
31-
const void *pBinary, ///< [in] byte pointer to native MCL binary
32-
size_t binarySize ///< [in] size of native MCL binary in bytes
30+
ze_result_t ZE_APICALL zexCommandListLoadNativeBinary(
31+
ze_command_list_handle_t
32+
hCommandList, ///< [in] handle of mutable command list
33+
const void *pBinary, ///< [in] byte pointer to native MCL binary
34+
size_t binarySize ///< [in] size of native MCL binary in bytes
3335
);
3436

3537
typedef ze_result_t(ZE_APICALL *zex_pfnCommandListGetNativeBinaryCb_t)(
36-
ze_command_list_handle_t hCommandList,
37-
void *pBinary,
38-
size_t *pBinarySize,
39-
const void *pModule,
40-
size_t moduleSize);
38+
ze_command_list_handle_t hCommandList, void *pBinary, size_t *pBinarySize,
39+
const void *pModule, size_t moduleSize);
4140

4241
typedef ze_result_t(ZE_APICALL *zex_pfnCommandListLoadNativeBinaryCb_t)(
43-
ze_command_list_handle_t hCommandList,
44-
const void *pBinary,
42+
ze_command_list_handle_t hCommandList, const void *pBinary,
4543
size_t binarySize);
4644

4745
#if defined(__cplusplus)

unified-runtime/source/adapters/level_zero/external/driver_experimental/mcl_ext/zex_mutable_cmdlist_temp_mem_ext.h

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,28 @@
1414
/// @brief Temporary variable flags
1515
typedef uint32_t zex_temp_variable_flags_t;
1616
typedef enum _zex_temp_variable_flag_t {
17-
ZEX_TEMP_VARIABLE_FLAGS_IS_CONST_SIZE = ZE_BIT(0), ///< temp variable has constant size
18-
ZEX_TEMP_VARIABLE_FLAGS_IS_SCALABLE = ZE_BIT(1) ///< temp variable scales with num elements
17+
ZEX_TEMP_VARIABLE_FLAGS_IS_CONST_SIZE =
18+
ZE_BIT(0), ///< temp variable has constant size
19+
ZEX_TEMP_VARIABLE_FLAGS_IS_SCALABLE =
20+
ZE_BIT(1) ///< temp variable scales with num elements
1921
} zex_temp_variable_flag_t;
2022

2123
///////////////////////////////////////////////////////////////////////////////
2224
/// @brief Temporary variable type
2325
typedef enum _zex_temp_variable_type_t {
24-
ZEX_TEMP_VARIABLE_TYPE_CONST_SIZE = 0, ///< temp variable has constant size
25-
ZEX_TEMP_VARIABLE_TYPE_SCALABLE = 1 ///< temp variable scales with num elements
26+
ZEX_TEMP_VARIABLE_TYPE_CONST_SIZE = 0, ///< temp variable has constant size
27+
ZEX_TEMP_VARIABLE_TYPE_SCALABLE =
28+
1 ///< temp variable scales with num elements
2629
} zex_temp_variable_type_t;
2730

2831
///////////////////////////////////////////////////////////////////////////////
2932
/// @brief Temporary variable descriptor
3033
typedef struct _zex_temp_variable_desc_t {
31-
ze_structure_type_ext_t stype = ZEX_STRUCTURE_TYPE_TEMP_VARIABLE_DESCRIPTOR;
32-
const void *pNext = nullptr;
34+
ze_structure_type_ext_t stype = ZEX_STRUCTURE_TYPE_TEMP_VARIABLE_DESCRIPTOR;
35+
const void *pNext = nullptr;
3336

34-
zex_temp_variable_flags_t flags;
35-
size_t size;
37+
zex_temp_variable_flags_t flags;
38+
size_t size;
3639
} zex_temp_variable_desc_t;
3740

3841
#if defined(__cplusplus)
@@ -41,36 +44,33 @@ extern "C" {
4144

4245
///////////////////////////////////////////////////////////////////////////////
4346
/// @brief Sets number of elements used by scalable temporary variables.
44-
ze_result_t ZE_APICALL
45-
zexCommandListTempMemSetEleCount(
46-
ze_command_list_handle_t hCommandList, ///< [in] handle of mutable command list
47-
size_t eleCount); ///< [in] number of elements
47+
ze_result_t ZE_APICALL zexCommandListTempMemSetEleCount(
48+
ze_command_list_handle_t
49+
hCommandList, ///< [in] handle of mutable command list
50+
size_t eleCount); ///< [in] number of elements
4851

4952
///////////////////////////////////////////////////////////////////////////////
5053
/// @brief Returns size of the buffer required for all temporary variables.
51-
ze_result_t ZE_APICALL
52-
zexCommandListTempMemGetSize(
53-
ze_command_list_handle_t hCommandList, ///< [in] handle of mutable command list
54-
size_t *pTempMemSize); ///< [in,out] size of temporary memory buffer
54+
ze_result_t ZE_APICALL zexCommandListTempMemGetSize(
55+
ze_command_list_handle_t
56+
hCommandList, ///< [in] handle of mutable command list
57+
size_t *pTempMemSize); ///< [in,out] size of temporary memory buffer
5558

5659
///////////////////////////////////////////////////////////////////////////////
5760
/// @brief Sets buffer used by temporary variables.
58-
ze_result_t ZE_APICALL
59-
zexCommandListTempMemSet(
60-
ze_command_list_handle_t hCommandList, ///< [in] handle of mutable command list
61-
const void *pTempMem); ///< [in] ptr to temporary memory buffer
61+
ze_result_t ZE_APICALL zexCommandListTempMemSet(
62+
ze_command_list_handle_t
63+
hCommandList, ///< [in] handle of mutable command list
64+
const void *pTempMem); ///< [in] ptr to temporary memory buffer
6265

6366
typedef ze_result_t(ZE_APICALL *zex_pfnCommandListTempMemSetEleCountCb_t)(
64-
ze_command_list_handle_t hCommandList,
65-
size_t eleCount);
67+
ze_command_list_handle_t hCommandList, size_t eleCount);
6668

6769
typedef ze_result_t(ZE_APICALL *zex_pfnCommandListTempMemGetSizeCb_t)(
68-
ze_command_list_handle_t hCommandList,
69-
size_t *pTempMemSize);
70+
ze_command_list_handle_t hCommandList, size_t *pTempMemSize);
7071

7172
typedef ze_result_t(ZE_APICALL *zex_pfnCommandListTempMemSetCb_t)(
72-
ze_command_list_handle_t hCommandList,
73-
const void *pTempMem);
73+
ze_command_list_handle_t hCommandList, const void *pTempMem);
7474

7575
#if defined(__cplusplus)
7676
} // extern "C"

0 commit comments

Comments
 (0)