Skip to content

Commit 1f7d3a1

Browse files
committed
Release v1.29.0
* Update to L0 Spec v1.16.24 * fix: CONTRIBUING.md for command line relative pathing Signed-off-by: Russell McGuire <russell.w.mcguire@intel.com>
1 parent 7b17d8b commit 1f7d3a1

58 files changed

Lines changed: 6736 additions & 222 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Level zero loader changelog
2+
## v1.29.0
3+
* Update to L0 Zero Spec v1.16.24: https://oneapi-src.github.io/level-zero-spec/releases/index.html#level-zero-v1-16-24
4+
* fix: CONTRIBUTING.md to correct command line for updating spec
5+
* Add to_string support support for callbacks (#463)
26
## v1.28.6
37
* Remove level-zero* (non-Canonical) package names when building DEBs with CPack
48
* Allow pkgconfig file isntallation with Window MSI Installer

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if(MSVC AND (MSVC_VERSION LESS 1900))
1313
endif()
1414

1515
# This project follows semantic versioning (https://semver.org/)
16-
project(level-zero VERSION 1.28.6)
16+
project(level-zero VERSION 1.29.0)
1717
include(GNUInstallDirs)
1818

1919
find_package(Git)

PRODUCT_GUID.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
1.28.6
2-
a106cfaa-e584-4194-9651-9da17307f50b
1+
1.29.0
2+
22be7d28-d853-4d43-95c8-074d8b96fc0e

include/layers/zel_tracing_register_cb.h

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,87 @@ typedef void (ZE_APICALL *ze_pfnDeviceGetAggregatedCopyOffloadIncrementValueCb_t
808808
void** ppTracerInstanceUserData
809809
);
810810

811+
///////////////////////////////////////////////////////////////////////////////
812+
/// @brief Callback function parameters for zeDeviceGetRuntimeRequirements
813+
/// @details Each entry is a pointer to the parameter passed to the function;
814+
/// allowing the callback the ability to modify the parameter's value
815+
816+
typedef struct _ze_device_get_runtime_requirements_params_t
817+
{
818+
ze_device_handle_t* phDevice;
819+
const void** ppObjDesc;
820+
size_t** ppSize;
821+
char** ppRequirements;
822+
} ze_device_get_runtime_requirements_params_t;
823+
824+
825+
///////////////////////////////////////////////////////////////////////////////
826+
/// @brief Callback function-pointer for zeDeviceGetRuntimeRequirements
827+
/// @param[in] params Parameters passed to this instance
828+
/// @param[in] result Return value
829+
/// @param[in] pTracerUserData Per-Tracer user data
830+
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
831+
832+
typedef void (ZE_APICALL *ze_pfnDeviceGetRuntimeRequirementsCb_t)(
833+
ze_device_get_runtime_requirements_params_t* params,
834+
ze_result_t result,
835+
void* pTracerUserData,
836+
void** ppTracerInstanceUserData
837+
);
838+
839+
///////////////////////////////////////////////////////////////////////////////
840+
/// @brief Callback function parameters for zeDeviceGetRuntimeRequirementsKey
841+
/// @details Each entry is a pointer to the parameter passed to the function;
842+
/// allowing the callback the ability to modify the parameter's value
843+
844+
typedef struct _ze_device_get_runtime_requirements_key_params_t
845+
{
846+
ze_device_handle_t* phDevice;
847+
const char*** ppKey;
848+
} ze_device_get_runtime_requirements_key_params_t;
849+
850+
851+
///////////////////////////////////////////////////////////////////////////////
852+
/// @brief Callback function-pointer for zeDeviceGetRuntimeRequirementsKey
853+
/// @param[in] params Parameters passed to this instance
854+
/// @param[in] result Return value
855+
/// @param[in] pTracerUserData Per-Tracer user data
856+
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
857+
858+
typedef void (ZE_APICALL *ze_pfnDeviceGetRuntimeRequirementsKeyCb_t)(
859+
ze_device_get_runtime_requirements_key_params_t* params,
860+
ze_result_t result,
861+
void* pTracerUserData,
862+
void** ppTracerInstanceUserData
863+
);
864+
865+
///////////////////////////////////////////////////////////////////////////////
866+
/// @brief Callback function parameters for zeDeviceValidateRuntimeRequirements
867+
/// @details Each entry is a pointer to the parameter passed to the function;
868+
/// allowing the callback the ability to modify the parameter's value
869+
870+
typedef struct _ze_device_validate_runtime_requirements_params_t
871+
{
872+
ze_device_handle_t* phDevice;
873+
const char** ppRequirements;
874+
ze_validate_runtime_requirements_output_t** ppOut;
875+
} ze_device_validate_runtime_requirements_params_t;
876+
877+
878+
///////////////////////////////////////////////////////////////////////////////
879+
/// @brief Callback function-pointer for zeDeviceValidateRuntimeRequirements
880+
/// @param[in] params Parameters passed to this instance
881+
/// @param[in] result Return value
882+
/// @param[in] pTracerUserData Per-Tracer user data
883+
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
884+
885+
typedef void (ZE_APICALL *ze_pfnDeviceValidateRuntimeRequirementsCb_t)(
886+
ze_device_validate_runtime_requirements_params_t* params,
887+
ze_result_t result,
888+
void* pTracerUserData,
889+
void** ppTracerInstanceUserData
890+
);
891+
811892
///////////////////////////////////////////////////////////////////////////////
812893
/// @brief Callback function parameters for zeDeviceReserveCacheExt
813894
/// @details Each entry is a pointer to the parameter passed to the function;
@@ -1205,6 +1286,102 @@ typedef void (ZE_APICALL *ze_pfnCommandListAppendLaunchKernelWithArgumentsCb_t)(
12051286
void** ppTracerInstanceUserData
12061287
);
12071288

1289+
///////////////////////////////////////////////////////////////////////////////
1290+
/// @brief Callback function parameters for zeCommandListAppendMemoryCopyWithParameters
1291+
/// @details Each entry is a pointer to the parameter passed to the function;
1292+
/// allowing the callback the ability to modify the parameter's value
1293+
1294+
typedef struct _ze_command_list_append_memory_copy_with_parameters_params_t
1295+
{
1296+
ze_command_list_handle_t* phCommandList;
1297+
void** pdstptr;
1298+
const void** psrcptr;
1299+
size_t* psize;
1300+
const void** ppNext;
1301+
ze_event_handle_t* phSignalEvent;
1302+
uint32_t* pnumWaitEvents;
1303+
ze_event_handle_t** pphWaitEvents;
1304+
} ze_command_list_append_memory_copy_with_parameters_params_t;
1305+
1306+
1307+
///////////////////////////////////////////////////////////////////////////////
1308+
/// @brief Callback function-pointer for zeCommandListAppendMemoryCopyWithParameters
1309+
/// @param[in] params Parameters passed to this instance
1310+
/// @param[in] result Return value
1311+
/// @param[in] pTracerUserData Per-Tracer user data
1312+
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
1313+
1314+
typedef void (ZE_APICALL *ze_pfnCommandListAppendMemoryCopyWithParametersCb_t)(
1315+
ze_command_list_append_memory_copy_with_parameters_params_t* params,
1316+
ze_result_t result,
1317+
void* pTracerUserData,
1318+
void** ppTracerInstanceUserData
1319+
);
1320+
1321+
///////////////////////////////////////////////////////////////////////////////
1322+
/// @brief Callback function parameters for zeCommandListAppendMemoryFillWithParameters
1323+
/// @details Each entry is a pointer to the parameter passed to the function;
1324+
/// allowing the callback the ability to modify the parameter's value
1325+
1326+
typedef struct _ze_command_list_append_memory_fill_with_parameters_params_t
1327+
{
1328+
ze_command_list_handle_t* phCommandList;
1329+
void** pptr;
1330+
const void** ppattern;
1331+
size_t* ppattern_size;
1332+
size_t* psize;
1333+
const void** ppNext;
1334+
ze_event_handle_t* phSignalEvent;
1335+
uint32_t* pnumWaitEvents;
1336+
ze_event_handle_t** pphWaitEvents;
1337+
} ze_command_list_append_memory_fill_with_parameters_params_t;
1338+
1339+
1340+
///////////////////////////////////////////////////////////////////////////////
1341+
/// @brief Callback function-pointer for zeCommandListAppendMemoryFillWithParameters
1342+
/// @param[in] params Parameters passed to this instance
1343+
/// @param[in] result Return value
1344+
/// @param[in] pTracerUserData Per-Tracer user data
1345+
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
1346+
1347+
typedef void (ZE_APICALL *ze_pfnCommandListAppendMemoryFillWithParametersCb_t)(
1348+
ze_command_list_append_memory_fill_with_parameters_params_t* params,
1349+
ze_result_t result,
1350+
void* pTracerUserData,
1351+
void** ppTracerInstanceUserData
1352+
);
1353+
1354+
///////////////////////////////////////////////////////////////////////////////
1355+
/// @brief Callback function parameters for zeCommandListImmediateAppendCommandListsWithParameters
1356+
/// @details Each entry is a pointer to the parameter passed to the function;
1357+
/// allowing the callback the ability to modify the parameter's value
1358+
1359+
typedef struct _ze_command_list_immediate_append_command_lists_with_parameters_params_t
1360+
{
1361+
ze_command_list_handle_t* phCommandListImmediate;
1362+
uint32_t* pnumCommandLists;
1363+
ze_command_list_handle_t** pphCommandLists;
1364+
const void** ppNext;
1365+
ze_event_handle_t* phSignalEvent;
1366+
uint32_t* pnumWaitEvents;
1367+
ze_event_handle_t** pphWaitEvents;
1368+
} ze_command_list_immediate_append_command_lists_with_parameters_params_t;
1369+
1370+
1371+
///////////////////////////////////////////////////////////////////////////////
1372+
/// @brief Callback function-pointer for zeCommandListImmediateAppendCommandListsWithParameters
1373+
/// @param[in] params Parameters passed to this instance
1374+
/// @param[in] result Return value
1375+
/// @param[in] pTracerUserData Per-Tracer user data
1376+
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
1377+
1378+
typedef void (ZE_APICALL *ze_pfnCommandListImmediateAppendCommandListsWithParametersCb_t)(
1379+
ze_command_list_immediate_append_command_lists_with_parameters_params_t* params,
1380+
ze_result_t result,
1381+
void* pTracerUserData,
1382+
void** ppTracerInstanceUserData
1383+
);
1384+
12081385
///////////////////////////////////////////////////////////////////////////////
12091386
/// @brief Callback function parameters for zeCommandListAppendImageCopyToMemoryExt
12101387
/// @details Each entry is a pointer to the parameter passed to the function;
@@ -2992,6 +3169,30 @@ zelTracerDeviceGetAggregatedCopyOffloadIncrementValueRegisterCallback(
29923169
);
29933170

29943171

3172+
ZE_APIEXPORT ze_result_t ZE_APICALL
3173+
zelTracerDeviceGetRuntimeRequirementsRegisterCallback(
3174+
zel_tracer_handle_t hTracer,
3175+
zel_tracer_reg_t callback_type,
3176+
ze_pfnDeviceGetRuntimeRequirementsCb_t pfnGetRuntimeRequirementsCb
3177+
);
3178+
3179+
3180+
ZE_APIEXPORT ze_result_t ZE_APICALL
3181+
zelTracerDeviceGetRuntimeRequirementsKeyRegisterCallback(
3182+
zel_tracer_handle_t hTracer,
3183+
zel_tracer_reg_t callback_type,
3184+
ze_pfnDeviceGetRuntimeRequirementsKeyCb_t pfnGetRuntimeRequirementsKeyCb
3185+
);
3186+
3187+
3188+
ZE_APIEXPORT ze_result_t ZE_APICALL
3189+
zelTracerDeviceValidateRuntimeRequirementsRegisterCallback(
3190+
zel_tracer_handle_t hTracer,
3191+
zel_tracer_reg_t callback_type,
3192+
ze_pfnDeviceValidateRuntimeRequirementsCb_t pfnValidateRuntimeRequirementsCb
3193+
);
3194+
3195+
29953196
ZE_APIEXPORT ze_result_t ZE_APICALL
29963197
zelTracerContextCreateRegisterCallback(
29973198
zel_tracer_handle_t hTracer,
@@ -3200,6 +3401,14 @@ zelTracerCommandListAppendMemoryCopyRegisterCallback(
32003401
);
32013402

32023403

3404+
ZE_APIEXPORT ze_result_t ZE_APICALL
3405+
zelTracerCommandListAppendMemoryCopyWithParametersRegisterCallback(
3406+
zel_tracer_handle_t hTracer,
3407+
zel_tracer_reg_t callback_type,
3408+
ze_pfnCommandListAppendMemoryCopyWithParametersCb_t pfnAppendMemoryCopyWithParametersCb
3409+
);
3410+
3411+
32033412
ZE_APIEXPORT ze_result_t ZE_APICALL
32043413
zelTracerCommandListAppendMemoryFillRegisterCallback(
32053414
zel_tracer_handle_t hTracer,
@@ -3208,6 +3417,14 @@ zelTracerCommandListAppendMemoryFillRegisterCallback(
32083417
);
32093418

32103419

3420+
ZE_APIEXPORT ze_result_t ZE_APICALL
3421+
zelTracerCommandListAppendMemoryFillWithParametersRegisterCallback(
3422+
zel_tracer_handle_t hTracer,
3423+
zel_tracer_reg_t callback_type,
3424+
ze_pfnCommandListAppendMemoryFillWithParametersCb_t pfnAppendMemoryFillWithParametersCb
3425+
);
3426+
3427+
32113428
ZE_APIEXPORT ze_result_t ZE_APICALL
32123429
zelTracerCommandListAppendMemoryCopyRegionRegisterCallback(
32133430
zel_tracer_handle_t hTracer,
@@ -4448,6 +4665,14 @@ zelTracerCommandListImmediateAppendCommandListsExpRegisterCallback(
44484665
);
44494666

44504667

4668+
ZE_APIEXPORT ze_result_t ZE_APICALL
4669+
zelTracerCommandListImmediateAppendCommandListsWithParametersRegisterCallback(
4670+
zel_tracer_handle_t hTracer,
4671+
zel_tracer_reg_t callback_type,
4672+
ze_pfnCommandListImmediateAppendCommandListsWithParametersCb_t pfnImmediateAppendCommandListsWithParametersCb
4673+
);
4674+
4675+
44514676
ZE_APIEXPORT ze_result_t ZE_APICALL
44524677
zelTracerCommandListGetNextCommandIdExpRegisterCallback(
44534678
zel_tracer_handle_t hTracer,

0 commit comments

Comments
 (0)