Skip to content

Commit c321c22

Browse files
committed
Fix/Regenerate the Loader files incorrectly reordered by the scripts.
- Removed input.json file that is generated by the spec scripts. Signed-off-by: Neil R. Spruit <[email protected]>
1 parent 71f481a commit c321c22

File tree

19 files changed

+2017
-82260
lines changed

19 files changed

+2017
-82260
lines changed

include/layers/zel_tracing_register_cb.h

Lines changed: 119 additions & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -619,59 +619,6 @@ typedef void (ZE_APICALL *ze_pfnCommandListGetNextCommandIdWithKernelsExpCb_t)(
619619
void** ppTracerInstanceUserData
620620
);
621621

622-
///////////////////////////////////////////////////////////////////////////////
623-
/// @brief Callback function parameters for zeCommandListUpdateMutableCommandsExp
624-
/// @details Each entry is a pointer to the parameter passed to the function;
625-
/// allowing the callback the ability to modify the parameter's value
626-
627-
typedef struct _ze_command_list_update_mutable_commands_exp_params_t
628-
{
629-
ze_command_list_handle_t* phCommandList;
630-
const ze_mutable_commands_exp_desc_t** pdesc;
631-
} ze_command_list_update_mutable_commands_exp_params_t;
632-
633-
634-
///////////////////////////////////////////////////////////////////////////////
635-
/// @brief Callback function-pointer for zeCommandListUpdateMutableCommandsExp
636-
/// @param[in] params Parameters passed to this instance
637-
/// @param[in] result Return value
638-
/// @param[in] pTracerUserData Per-Tracer user data
639-
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
640-
641-
typedef void (ZE_APICALL *ze_pfnCommandListUpdateMutableCommandsExpCb_t)(
642-
ze_command_list_update_mutable_commands_exp_params_t* params,
643-
ze_result_t result,
644-
void* pTracerUserData,
645-
void** ppTracerInstanceUserData
646-
);
647-
648-
///////////////////////////////////////////////////////////////////////////////
649-
/// @brief Callback function parameters for zeCommandListUpdateMutableCommandSignalEventExp
650-
/// @details Each entry is a pointer to the parameter passed to the function;
651-
/// allowing the callback the ability to modify the parameter's value
652-
653-
typedef struct _ze_command_list_update_mutable_command_signal_event_exp_params_t
654-
{
655-
ze_command_list_handle_t* phCommandList;
656-
uint64_t* pcommandId;
657-
ze_event_handle_t* phSignalEvent;
658-
} ze_command_list_update_mutable_command_signal_event_exp_params_t;
659-
660-
661-
///////////////////////////////////////////////////////////////////////////////
662-
/// @brief Callback function-pointer for zeCommandListUpdateMutableCommandSignalEventExp
663-
/// @param[in] params Parameters passed to this instance
664-
/// @param[in] result Return value
665-
/// @param[in] pTracerUserData Per-Tracer user data
666-
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
667-
668-
typedef void (ZE_APICALL *ze_pfnCommandListUpdateMutableCommandSignalEventExpCb_t)(
669-
ze_command_list_update_mutable_command_signal_event_exp_params_t* params,
670-
ze_result_t result,
671-
void* pTracerUserData,
672-
void** ppTracerInstanceUserData
673-
);
674-
675622
///////////////////////////////////////////////////////////////////////////////
676623
/// @brief Callback function parameters for zeCommandListUpdateMutableCommandKernelsExp
677624
/// @details Each entry is a pointer to the parameter passed to the function;
@@ -948,6 +895,36 @@ typedef void (ZE_APICALL *ze_pfnCommandListIsImmediateCb_t)(
948895
void** ppTracerInstanceUserData
949896
);
950897

898+
///////////////////////////////////////////////////////////////////////////////
899+
/// @brief Callback function parameters for zeCommandListImmediateAppendCommandListsExp
900+
/// @details Each entry is a pointer to the parameter passed to the function;
901+
/// allowing the callback the ability to modify the parameter's value
902+
903+
typedef struct _ze_command_list_immediate_append_command_lists_exp_params_t
904+
{
905+
ze_command_list_handle_t* phCommandListImmediate;
906+
uint32_t* pnumCommandLists;
907+
ze_command_list_handle_t** pphCommandLists;
908+
ze_event_handle_t* phSignalEvent;
909+
uint32_t* pnumWaitEvents;
910+
ze_event_handle_t** pphWaitEvents;
911+
} ze_command_list_immediate_append_command_lists_exp_params_t;
912+
913+
914+
///////////////////////////////////////////////////////////////////////////////
915+
/// @brief Callback function-pointer for zeCommandListImmediateAppendCommandListsExp
916+
/// @param[in] params Parameters passed to this instance
917+
/// @param[in] result Return value
918+
/// @param[in] pTracerUserData Per-Tracer user data
919+
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
920+
921+
typedef void (ZE_APICALL *ze_pfnCommandListImmediateAppendCommandListsExpCb_t)(
922+
ze_command_list_immediate_append_command_lists_exp_params_t* params,
923+
ze_result_t result,
924+
void* pTracerUserData,
925+
void** ppTracerInstanceUserData
926+
);
927+
951928
///////////////////////////////////////////////////////////////////////////////
952929
/// @brief Callback function parameters for zeCommandListGetNextCommandIdExp
953930
/// @details Each entry is a pointer to the parameter passed to the function;
@@ -976,58 +953,81 @@ typedef void (ZE_APICALL *ze_pfnCommandListGetNextCommandIdExpCb_t)(
976953
);
977954

978955
///////////////////////////////////////////////////////////////////////////////
979-
/// @brief Callback function parameters for zeCommandListUpdateMutableCommandWaitEventsExp
956+
/// @brief Callback function parameters for zeCommandListUpdateMutableCommandsExp
980957
/// @details Each entry is a pointer to the parameter passed to the function;
981958
/// allowing the callback the ability to modify the parameter's value
982959

983-
typedef struct _ze_command_list_update_mutable_command_wait_events_exp_params_t
960+
typedef struct _ze_command_list_update_mutable_commands_exp_params_t
984961
{
985962
ze_command_list_handle_t* phCommandList;
986-
uint64_t* pcommandId;
987-
uint32_t* pnumWaitEvents;
988-
ze_event_handle_t** pphWaitEvents;
989-
} ze_command_list_update_mutable_command_wait_events_exp_params_t;
963+
const ze_mutable_commands_exp_desc_t** pdesc;
964+
} ze_command_list_update_mutable_commands_exp_params_t;
990965

991966

992967
///////////////////////////////////////////////////////////////////////////////
993-
/// @brief Callback function-pointer for zeCommandListUpdateMutableCommandWaitEventsExp
968+
/// @brief Callback function-pointer for zeCommandListUpdateMutableCommandsExp
994969
/// @param[in] params Parameters passed to this instance
995970
/// @param[in] result Return value
996971
/// @param[in] pTracerUserData Per-Tracer user data
997972
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
998973

999-
typedef void (ZE_APICALL *ze_pfnCommandListUpdateMutableCommandWaitEventsExpCb_t)(
1000-
ze_command_list_update_mutable_command_wait_events_exp_params_t* params,
974+
typedef void (ZE_APICALL *ze_pfnCommandListUpdateMutableCommandsExpCb_t)(
975+
ze_command_list_update_mutable_commands_exp_params_t* params,
1001976
ze_result_t result,
1002977
void* pTracerUserData,
1003978
void** ppTracerInstanceUserData
1004979
);
1005980

1006981
///////////////////////////////////////////////////////////////////////////////
1007-
/// @brief Callback function parameters for zeCommandListImmediateAppendCommandListsExp
982+
/// @brief Callback function parameters for zeCommandListUpdateMutableCommandSignalEventExp
1008983
/// @details Each entry is a pointer to the parameter passed to the function;
1009984
/// allowing the callback the ability to modify the parameter's value
1010985

1011-
typedef struct _ze_command_list_immediate_append_command_lists_exp_params_t
986+
typedef struct _ze_command_list_update_mutable_command_signal_event_exp_params_t
1012987
{
1013-
ze_command_list_handle_t* phCommandListImmediate;
1014-
uint32_t* pnumCommandLists;
1015-
ze_command_list_handle_t** pphCommandLists;
988+
ze_command_list_handle_t* phCommandList;
989+
uint64_t* pcommandId;
1016990
ze_event_handle_t* phSignalEvent;
991+
} ze_command_list_update_mutable_command_signal_event_exp_params_t;
992+
993+
994+
///////////////////////////////////////////////////////////////////////////////
995+
/// @brief Callback function-pointer for zeCommandListUpdateMutableCommandSignalEventExp
996+
/// @param[in] params Parameters passed to this instance
997+
/// @param[in] result Return value
998+
/// @param[in] pTracerUserData Per-Tracer user data
999+
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
1000+
1001+
typedef void (ZE_APICALL *ze_pfnCommandListUpdateMutableCommandSignalEventExpCb_t)(
1002+
ze_command_list_update_mutable_command_signal_event_exp_params_t* params,
1003+
ze_result_t result,
1004+
void* pTracerUserData,
1005+
void** ppTracerInstanceUserData
1006+
);
1007+
1008+
///////////////////////////////////////////////////////////////////////////////
1009+
/// @brief Callback function parameters for zeCommandListUpdateMutableCommandWaitEventsExp
1010+
/// @details Each entry is a pointer to the parameter passed to the function;
1011+
/// allowing the callback the ability to modify the parameter's value
1012+
1013+
typedef struct _ze_command_list_update_mutable_command_wait_events_exp_params_t
1014+
{
1015+
ze_command_list_handle_t* phCommandList;
1016+
uint64_t* pcommandId;
10171017
uint32_t* pnumWaitEvents;
10181018
ze_event_handle_t** pphWaitEvents;
1019-
} ze_command_list_immediate_append_command_lists_exp_params_t;
1019+
} ze_command_list_update_mutable_command_wait_events_exp_params_t;
10201020

10211021

10221022
///////////////////////////////////////////////////////////////////////////////
1023-
/// @brief Callback function-pointer for zeCommandListImmediateAppendCommandListsExp
1023+
/// @brief Callback function-pointer for zeCommandListUpdateMutableCommandWaitEventsExp
10241024
/// @param[in] params Parameters passed to this instance
10251025
/// @param[in] result Return value
10261026
/// @param[in] pTracerUserData Per-Tracer user data
10271027
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
10281028

1029-
typedef void (ZE_APICALL *ze_pfnCommandListImmediateAppendCommandListsExpCb_t)(
1030-
ze_command_list_immediate_append_command_lists_exp_params_t* params,
1029+
typedef void (ZE_APICALL *ze_pfnCommandListUpdateMutableCommandWaitEventsExpCb_t)(
1030+
ze_command_list_update_mutable_command_wait_events_exp_params_t* params,
10311031
ze_result_t result,
10321032
void* pTracerUserData,
10331033
void** ppTracerInstanceUserData
@@ -3023,54 +3023,6 @@ zelTracerKernelSetGlobalOffsetExpRegisterCallback(
30233023
);
30243024

30253025

3026-
ZE_APIEXPORT ze_result_t ZE_APICALL
3027-
zelTracerCommandListGetNextCommandIdExpRegisterCallback(
3028-
zel_tracer_handle_t hTracer,
3029-
zel_tracer_reg_t callback_type,
3030-
ze_pfnCommandListGetNextCommandIdExpCb_t pfnGetNextCommandIdExpCb
3031-
);
3032-
3033-
3034-
ZE_APIEXPORT ze_result_t ZE_APICALL
3035-
zelTracerCommandListGetNextCommandIdWithKernelsExpRegisterCallback(
3036-
zel_tracer_handle_t hTracer,
3037-
zel_tracer_reg_t callback_type,
3038-
ze_pfnCommandListGetNextCommandIdWithKernelsExpCb_t pfnGetNextCommandIdWithKernelsExpCb
3039-
);
3040-
3041-
3042-
ZE_APIEXPORT ze_result_t ZE_APICALL
3043-
zelTracerCommandListUpdateMutableCommandsExpRegisterCallback(
3044-
zel_tracer_handle_t hTracer,
3045-
zel_tracer_reg_t callback_type,
3046-
ze_pfnCommandListUpdateMutableCommandsExpCb_t pfnUpdateMutableCommandsExpCb
3047-
);
3048-
3049-
3050-
ZE_APIEXPORT ze_result_t ZE_APICALL
3051-
zelTracerCommandListUpdateMutableCommandSignalEventExpRegisterCallback(
3052-
zel_tracer_handle_t hTracer,
3053-
zel_tracer_reg_t callback_type,
3054-
ze_pfnCommandListUpdateMutableCommandSignalEventExpCb_t pfnUpdateMutableCommandSignalEventExpCb
3055-
);
3056-
3057-
3058-
ZE_APIEXPORT ze_result_t ZE_APICALL
3059-
zelTracerCommandListUpdateMutableCommandWaitEventsExpRegisterCallback(
3060-
zel_tracer_handle_t hTracer,
3061-
zel_tracer_reg_t callback_type,
3062-
ze_pfnCommandListUpdateMutableCommandWaitEventsExpCb_t pfnUpdateMutableCommandWaitEventsExpCb
3063-
);
3064-
3065-
3066-
ZE_APIEXPORT ze_result_t ZE_APICALL
3067-
zelTracerCommandListUpdateMutableCommandKernelsExpRegisterCallback(
3068-
zel_tracer_handle_t hTracer,
3069-
zel_tracer_reg_t callback_type,
3070-
ze_pfnCommandListUpdateMutableCommandKernelsExpCb_t pfnUpdateMutableCommandKernelsExpCb
3071-
);
3072-
3073-
30743026
ZE_APIEXPORT ze_result_t ZE_APICALL
30753027
zelTracerDeviceReserveCacheExtRegisterCallback(
30763028
zel_tracer_handle_t hTracer,
@@ -3351,6 +3303,54 @@ zelTracerCommandListImmediateAppendCommandListsExpRegisterCallback(
33513303
);
33523304

33533305

3306+
ZE_APIEXPORT ze_result_t ZE_APICALL
3307+
zelTracerCommandListGetNextCommandIdExpRegisterCallback(
3308+
zel_tracer_handle_t hTracer,
3309+
zel_tracer_reg_t callback_type,
3310+
ze_pfnCommandListGetNextCommandIdExpCb_t pfnGetNextCommandIdExpCb
3311+
);
3312+
3313+
3314+
ZE_APIEXPORT ze_result_t ZE_APICALL
3315+
zelTracerCommandListGetNextCommandIdWithKernelsExpRegisterCallback(
3316+
zel_tracer_handle_t hTracer,
3317+
zel_tracer_reg_t callback_type,
3318+
ze_pfnCommandListGetNextCommandIdWithKernelsExpCb_t pfnGetNextCommandIdWithKernelsExpCb
3319+
);
3320+
3321+
3322+
ZE_APIEXPORT ze_result_t ZE_APICALL
3323+
zelTracerCommandListUpdateMutableCommandsExpRegisterCallback(
3324+
zel_tracer_handle_t hTracer,
3325+
zel_tracer_reg_t callback_type,
3326+
ze_pfnCommandListUpdateMutableCommandsExpCb_t pfnUpdateMutableCommandsExpCb
3327+
);
3328+
3329+
3330+
ZE_APIEXPORT ze_result_t ZE_APICALL
3331+
zelTracerCommandListUpdateMutableCommandSignalEventExpRegisterCallback(
3332+
zel_tracer_handle_t hTracer,
3333+
zel_tracer_reg_t callback_type,
3334+
ze_pfnCommandListUpdateMutableCommandSignalEventExpCb_t pfnUpdateMutableCommandSignalEventExpCb
3335+
);
3336+
3337+
3338+
ZE_APIEXPORT ze_result_t ZE_APICALL
3339+
zelTracerCommandListUpdateMutableCommandWaitEventsExpRegisterCallback(
3340+
zel_tracer_handle_t hTracer,
3341+
zel_tracer_reg_t callback_type,
3342+
ze_pfnCommandListUpdateMutableCommandWaitEventsExpCb_t pfnUpdateMutableCommandWaitEventsExpCb
3343+
);
3344+
3345+
3346+
ZE_APIEXPORT ze_result_t ZE_APICALL
3347+
zelTracerCommandListUpdateMutableCommandKernelsExpRegisterCallback(
3348+
zel_tracer_handle_t hTracer,
3349+
zel_tracer_reg_t callback_type,
3350+
ze_pfnCommandListUpdateMutableCommandKernelsExpCb_t pfnUpdateMutableCommandKernelsExpCb
3351+
);
3352+
3353+
33543354
ZE_APIEXPORT ze_result_t ZE_APICALL
33553355
zelTracerResetAllCallbacks(zel_tracer_handle_t hTracer);
33563356

0 commit comments

Comments
 (0)