5
5
* SPDX-License-Identifier: MIT
6
6
*
7
7
* @file ze_ddi.h
8
- * @version v1.9 -r1.9.3
8
+ * @version v1.11 -r1.11.0
9
9
*
10
10
*/
11
11
#ifndef _ZE_DDI_H
@@ -152,11 +152,20 @@ typedef ze_result_t (ZE_APICALL *ze_pfnInit_t)(
152
152
ze_init_flags_t
153
153
);
154
154
155
+ ///////////////////////////////////////////////////////////////////////////////
156
+ /// @brief Function-pointer for zeInitDrivers
157
+ typedef ze_result_t (ZE_APICALL * ze_pfnInitDrivers_t )(
158
+ uint32_t * ,
159
+ ze_driver_handle_t * ,
160
+ ze_init_driver_type_desc_t *
161
+ );
162
+
155
163
///////////////////////////////////////////////////////////////////////////////
156
164
/// @brief Table of Global functions pointers
157
165
typedef struct _ze_global_dditable_t
158
166
{
159
167
ze_pfnInit_t pfnInit ;
168
+ ze_pfnInitDrivers_t pfnInitDrivers ;
160
169
} ze_global_dditable_t ;
161
170
162
171
///////////////////////////////////////////////////////////////////////////////
@@ -1119,28 +1128,12 @@ typedef ze_result_t (ZE_APICALL *ze_pfnGetCommandListProcAddrTable_t)(
1119
1128
);
1120
1129
1121
1130
///////////////////////////////////////////////////////////////////////////////
1122
- /// @brief Function-pointer for zeCommandListCreateCloneExp
1123
- typedef ze_result_t (ZE_APICALL * ze_pfnCommandListCreateCloneExp_t )(
1124
- ze_command_list_handle_t ,
1125
- ze_command_list_handle_t *
1126
- );
1127
-
1128
- ///////////////////////////////////////////////////////////////////////////////
1129
- /// @brief Function-pointer for zeCommandListImmediateAppendCommandListsExp
1130
- typedef ze_result_t (ZE_APICALL * ze_pfnCommandListImmediateAppendCommandListsExp_t )(
1131
- ze_command_list_handle_t ,
1132
- uint32_t ,
1133
- ze_command_list_handle_t * ,
1134
- ze_event_handle_t ,
1135
- uint32_t ,
1136
- ze_event_handle_t *
1137
- );
1138
-
1139
- ///////////////////////////////////////////////////////////////////////////////
1140
- /// @brief Function-pointer for zeCommandListGetNextCommandIdExp
1141
- typedef ze_result_t (ZE_APICALL * ze_pfnCommandListGetNextCommandIdExp_t )(
1131
+ /// @brief Function-pointer for zeCommandListGetNextCommandIdWithKernelsExp
1132
+ typedef ze_result_t (ZE_APICALL * ze_pfnCommandListGetNextCommandIdWithKernelsExp_t )(
1142
1133
ze_command_list_handle_t ,
1143
1134
const ze_mutable_command_id_exp_desc_t * ,
1135
+ uint32_t ,
1136
+ ze_kernel_handle_t * ,
1144
1137
uint64_t *
1145
1138
);
1146
1139
@@ -1159,6 +1152,30 @@ typedef ze_result_t (ZE_APICALL *ze_pfnCommandListUpdateMutableCommandSignalEven
1159
1152
ze_event_handle_t
1160
1153
);
1161
1154
1155
+ ///////////////////////////////////////////////////////////////////////////////
1156
+ /// @brief Function-pointer for zeCommandListUpdateMutableCommandKernelsExp
1157
+ typedef ze_result_t (ZE_APICALL * ze_pfnCommandListUpdateMutableCommandKernelsExp_t )(
1158
+ ze_command_list_handle_t ,
1159
+ uint32_t ,
1160
+ uint64_t * ,
1161
+ ze_kernel_handle_t *
1162
+ );
1163
+
1164
+ ///////////////////////////////////////////////////////////////////////////////
1165
+ /// @brief Function-pointer for zeCommandListCreateCloneExp
1166
+ typedef ze_result_t (ZE_APICALL * ze_pfnCommandListCreateCloneExp_t )(
1167
+ ze_command_list_handle_t ,
1168
+ ze_command_list_handle_t *
1169
+ );
1170
+
1171
+ ///////////////////////////////////////////////////////////////////////////////
1172
+ /// @brief Function-pointer for zeCommandListGetNextCommandIdExp
1173
+ typedef ze_result_t (ZE_APICALL * ze_pfnCommandListGetNextCommandIdExp_t )(
1174
+ ze_command_list_handle_t ,
1175
+ const ze_mutable_command_id_exp_desc_t * ,
1176
+ uint64_t *
1177
+ );
1178
+
1162
1179
///////////////////////////////////////////////////////////////////////////////
1163
1180
/// @brief Function-pointer for zeCommandListUpdateMutableCommandWaitEventsExp
1164
1181
typedef ze_result_t (ZE_APICALL * ze_pfnCommandListUpdateMutableCommandWaitEventsExp_t )(
@@ -1168,16 +1185,29 @@ typedef ze_result_t (ZE_APICALL *ze_pfnCommandListUpdateMutableCommandWaitEvents
1168
1185
ze_event_handle_t *
1169
1186
);
1170
1187
1188
+ ///////////////////////////////////////////////////////////////////////////////
1189
+ /// @brief Function-pointer for zeCommandListImmediateAppendCommandListsExp
1190
+ typedef ze_result_t (ZE_APICALL * ze_pfnCommandListImmediateAppendCommandListsExp_t )(
1191
+ ze_command_list_handle_t ,
1192
+ uint32_t ,
1193
+ ze_command_list_handle_t * ,
1194
+ ze_event_handle_t ,
1195
+ uint32_t ,
1196
+ ze_event_handle_t *
1197
+ );
1198
+
1171
1199
///////////////////////////////////////////////////////////////////////////////
1172
1200
/// @brief Table of CommandListExp functions pointers
1173
1201
typedef struct _ze_command_list_exp_dditable_t
1174
1202
{
1175
- ze_pfnCommandListCreateCloneExp_t pfnCreateCloneExp ;
1176
- ze_pfnCommandListImmediateAppendCommandListsExp_t pfnImmediateAppendCommandListsExp ;
1177
- ze_pfnCommandListGetNextCommandIdExp_t pfnGetNextCommandIdExp ;
1203
+ ze_pfnCommandListGetNextCommandIdWithKernelsExp_t pfnGetNextCommandIdWithKernelsExp ;
1178
1204
ze_pfnCommandListUpdateMutableCommandsExp_t pfnUpdateMutableCommandsExp ;
1179
1205
ze_pfnCommandListUpdateMutableCommandSignalEventExp_t pfnUpdateMutableCommandSignalEventExp ;
1206
+ ze_pfnCommandListUpdateMutableCommandKernelsExp_t pfnUpdateMutableCommandKernelsExp ;
1207
+ ze_pfnCommandListCreateCloneExp_t pfnCreateCloneExp ;
1208
+ ze_pfnCommandListGetNextCommandIdExp_t pfnGetNextCommandIdExp ;
1180
1209
ze_pfnCommandListUpdateMutableCommandWaitEventsExp_t pfnUpdateMutableCommandWaitEventsExp ;
1210
+ ze_pfnCommandListImmediateAppendCommandListsExp_t pfnImmediateAppendCommandListsExp ;
1181
1211
} ze_command_list_exp_dditable_t ;
1182
1212
1183
1213
///////////////////////////////////////////////////////////////////////////////
0 commit comments