|
4 | 4 | SPDX-License-Identifier: MIT
|
5 | 5 |
|
6 | 6 | @file ze.py
|
7 |
| - @version v1.11-r1.11.1 |
| 7 | + @version v1.11-r1.11.3 |
8 | 8 |
|
9 | 9 | """
|
10 | 10 | import platform
|
@@ -4783,74 +4783,74 @@ class _ze_command_list_dditable_t(Structure):
|
4783 | 4783 | ]
|
4784 | 4784 |
|
4785 | 4785 | ###############################################################################
|
4786 |
| -## @brief Function-pointer for zeCommandListGetNextCommandIdWithKernelsExp |
| 4786 | +## @brief Function-pointer for zeCommandListCreateCloneExp |
4787 | 4787 | if __use_win_types:
|
4788 |
| - _zeCommandListGetNextCommandIdWithKernelsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_command_id_exp_desc_t), c_ulong, POINTER(ze_kernel_handle_t), POINTER(c_ulonglong) ) |
| 4788 | + _zeCommandListCreateCloneExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_command_list_handle_t) ) |
4789 | 4789 | else:
|
4790 |
| - _zeCommandListGetNextCommandIdWithKernelsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_command_id_exp_desc_t), c_ulong, POINTER(ze_kernel_handle_t), POINTER(c_ulonglong) ) |
| 4790 | + _zeCommandListCreateCloneExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_command_list_handle_t) ) |
4791 | 4791 |
|
4792 | 4792 | ###############################################################################
|
4793 |
| -## @brief Function-pointer for zeCommandListUpdateMutableCommandsExp |
| 4793 | +## @brief Function-pointer for zeCommandListGetNextCommandIdExp |
4794 | 4794 | if __use_win_types:
|
4795 |
| - _zeCommandListUpdateMutableCommandsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_commands_exp_desc_t) ) |
| 4795 | + _zeCommandListGetNextCommandIdExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_command_id_exp_desc_t), POINTER(c_ulonglong) ) |
4796 | 4796 | else:
|
4797 |
| - _zeCommandListUpdateMutableCommandsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_commands_exp_desc_t) ) |
| 4797 | + _zeCommandListGetNextCommandIdExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_command_id_exp_desc_t), POINTER(c_ulonglong) ) |
4798 | 4798 |
|
4799 | 4799 | ###############################################################################
|
4800 |
| -## @brief Function-pointer for zeCommandListUpdateMutableCommandSignalEventExp |
| 4800 | +## @brief Function-pointer for zeCommandListUpdateMutableCommandWaitEventsExp |
4801 | 4801 | if __use_win_types:
|
4802 |
| - _zeCommandListUpdateMutableCommandSignalEventExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulonglong, ze_event_handle_t ) |
| 4802 | + _zeCommandListUpdateMutableCommandWaitEventsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulonglong, c_ulong, POINTER(ze_event_handle_t) ) |
4803 | 4803 | else:
|
4804 |
| - _zeCommandListUpdateMutableCommandSignalEventExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulonglong, ze_event_handle_t ) |
| 4804 | + _zeCommandListUpdateMutableCommandWaitEventsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulonglong, c_ulong, POINTER(ze_event_handle_t) ) |
4805 | 4805 |
|
4806 | 4806 | ###############################################################################
|
4807 |
| -## @brief Function-pointer for zeCommandListUpdateMutableCommandKernelsExp |
| 4807 | +## @brief Function-pointer for zeCommandListImmediateAppendCommandListsExp |
4808 | 4808 | if __use_win_types:
|
4809 |
| - _zeCommandListUpdateMutableCommandKernelsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulong, POINTER(c_ulonglong), POINTER(ze_kernel_handle_t) ) |
| 4809 | + _zeCommandListImmediateAppendCommandListsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulong, POINTER(ze_command_list_handle_t), ze_event_handle_t, c_ulong, POINTER(ze_event_handle_t) ) |
4810 | 4810 | else:
|
4811 |
| - _zeCommandListUpdateMutableCommandKernelsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulong, POINTER(c_ulonglong), POINTER(ze_kernel_handle_t) ) |
| 4811 | + _zeCommandListImmediateAppendCommandListsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulong, POINTER(ze_command_list_handle_t), ze_event_handle_t, c_ulong, POINTER(ze_event_handle_t) ) |
4812 | 4812 |
|
4813 | 4813 | ###############################################################################
|
4814 |
| -## @brief Function-pointer for zeCommandListCreateCloneExp |
| 4814 | +## @brief Function-pointer for zeCommandListGetNextCommandIdWithKernelsExp |
4815 | 4815 | if __use_win_types:
|
4816 |
| - _zeCommandListCreateCloneExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_command_list_handle_t) ) |
| 4816 | + _zeCommandListGetNextCommandIdWithKernelsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_command_id_exp_desc_t), c_ulong, POINTER(ze_kernel_handle_t), POINTER(c_ulonglong) ) |
4817 | 4817 | else:
|
4818 |
| - _zeCommandListCreateCloneExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_command_list_handle_t) ) |
| 4818 | + _zeCommandListGetNextCommandIdWithKernelsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_command_id_exp_desc_t), c_ulong, POINTER(ze_kernel_handle_t), POINTER(c_ulonglong) ) |
4819 | 4819 |
|
4820 | 4820 | ###############################################################################
|
4821 |
| -## @brief Function-pointer for zeCommandListGetNextCommandIdExp |
| 4821 | +## @brief Function-pointer for zeCommandListUpdateMutableCommandsExp |
4822 | 4822 | if __use_win_types:
|
4823 |
| - _zeCommandListGetNextCommandIdExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_command_id_exp_desc_t), POINTER(c_ulonglong) ) |
| 4823 | + _zeCommandListUpdateMutableCommandsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_commands_exp_desc_t) ) |
4824 | 4824 | else:
|
4825 |
| - _zeCommandListGetNextCommandIdExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_command_id_exp_desc_t), POINTER(c_ulonglong) ) |
| 4825 | + _zeCommandListUpdateMutableCommandsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, POINTER(ze_mutable_commands_exp_desc_t) ) |
4826 | 4826 |
|
4827 | 4827 | ###############################################################################
|
4828 |
| -## @brief Function-pointer for zeCommandListUpdateMutableCommandWaitEventsExp |
| 4828 | +## @brief Function-pointer for zeCommandListUpdateMutableCommandSignalEventExp |
4829 | 4829 | if __use_win_types:
|
4830 |
| - _zeCommandListUpdateMutableCommandWaitEventsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulonglong, c_ulong, POINTER(ze_event_handle_t) ) |
| 4830 | + _zeCommandListUpdateMutableCommandSignalEventExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulonglong, ze_event_handle_t ) |
4831 | 4831 | else:
|
4832 |
| - _zeCommandListUpdateMutableCommandWaitEventsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulonglong, c_ulong, POINTER(ze_event_handle_t) ) |
| 4832 | + _zeCommandListUpdateMutableCommandSignalEventExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulonglong, ze_event_handle_t ) |
4833 | 4833 |
|
4834 | 4834 | ###############################################################################
|
4835 |
| -## @brief Function-pointer for zeCommandListImmediateAppendCommandListsExp |
| 4835 | +## @brief Function-pointer for zeCommandListUpdateMutableCommandKernelsExp |
4836 | 4836 | if __use_win_types:
|
4837 |
| - _zeCommandListImmediateAppendCommandListsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulong, POINTER(ze_command_list_handle_t), ze_event_handle_t, c_ulong, POINTER(ze_event_handle_t) ) |
| 4837 | + _zeCommandListUpdateMutableCommandKernelsExp_t = WINFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulong, POINTER(c_ulonglong), POINTER(ze_kernel_handle_t) ) |
4838 | 4838 | else:
|
4839 |
| - _zeCommandListImmediateAppendCommandListsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulong, POINTER(ze_command_list_handle_t), ze_event_handle_t, c_ulong, POINTER(ze_event_handle_t) ) |
| 4839 | + _zeCommandListUpdateMutableCommandKernelsExp_t = CFUNCTYPE( ze_result_t, ze_command_list_handle_t, c_ulong, POINTER(c_ulonglong), POINTER(ze_kernel_handle_t) ) |
4840 | 4840 |
|
4841 | 4841 |
|
4842 | 4842 | ###############################################################################
|
4843 | 4843 | ## @brief Table of CommandListExp functions pointers
|
4844 | 4844 | class _ze_command_list_exp_dditable_t(Structure):
|
4845 | 4845 | _fields_ = [
|
4846 |
| - ("pfnGetNextCommandIdWithKernelsExp", c_void_p), ## _zeCommandListGetNextCommandIdWithKernelsExp_t |
4847 |
| - ("pfnUpdateMutableCommandsExp", c_void_p), ## _zeCommandListUpdateMutableCommandsExp_t |
4848 |
| - ("pfnUpdateMutableCommandSignalEventExp", c_void_p), ## _zeCommandListUpdateMutableCommandSignalEventExp_t |
4849 |
| - ("pfnUpdateMutableCommandKernelsExp", c_void_p), ## _zeCommandListUpdateMutableCommandKernelsExp_t |
4850 | 4846 | ("pfnCreateCloneExp", c_void_p), ## _zeCommandListCreateCloneExp_t
|
4851 | 4847 | ("pfnGetNextCommandIdExp", c_void_p), ## _zeCommandListGetNextCommandIdExp_t
|
4852 | 4848 | ("pfnUpdateMutableCommandWaitEventsExp", c_void_p), ## _zeCommandListUpdateMutableCommandWaitEventsExp_t
|
4853 |
| - ("pfnImmediateAppendCommandListsExp", c_void_p) ## _zeCommandListImmediateAppendCommandListsExp_t |
| 4849 | + ("pfnImmediateAppendCommandListsExp", c_void_p), ## _zeCommandListImmediateAppendCommandListsExp_t |
| 4850 | + ("pfnGetNextCommandIdWithKernelsExp", c_void_p), ## _zeCommandListGetNextCommandIdWithKernelsExp_t |
| 4851 | + ("pfnUpdateMutableCommandsExp", c_void_p), ## _zeCommandListUpdateMutableCommandsExp_t |
| 4852 | + ("pfnUpdateMutableCommandSignalEventExp", c_void_p), ## _zeCommandListUpdateMutableCommandSignalEventExp_t |
| 4853 | + ("pfnUpdateMutableCommandKernelsExp", c_void_p) ## _zeCommandListUpdateMutableCommandKernelsExp_t |
4854 | 4854 | ]
|
4855 | 4855 |
|
4856 | 4856 | ###############################################################################
|
@@ -5939,14 +5939,14 @@ def __init__(self, version : ze_api_version_t):
|
5939 | 5939 | self.__dditable.CommandListExp = _CommandListExp
|
5940 | 5940 |
|
5941 | 5941 | # attach function interface to function address
|
5942 |
| - self.zeCommandListGetNextCommandIdWithKernelsExp = _zeCommandListGetNextCommandIdWithKernelsExp_t(self.__dditable.CommandListExp.pfnGetNextCommandIdWithKernelsExp) |
5943 |
| - self.zeCommandListUpdateMutableCommandsExp = _zeCommandListUpdateMutableCommandsExp_t(self.__dditable.CommandListExp.pfnUpdateMutableCommandsExp) |
5944 |
| - self.zeCommandListUpdateMutableCommandSignalEventExp = _zeCommandListUpdateMutableCommandSignalEventExp_t(self.__dditable.CommandListExp.pfnUpdateMutableCommandSignalEventExp) |
5945 |
| - self.zeCommandListUpdateMutableCommandKernelsExp = _zeCommandListUpdateMutableCommandKernelsExp_t(self.__dditable.CommandListExp.pfnUpdateMutableCommandKernelsExp) |
5946 | 5942 | self.zeCommandListCreateCloneExp = _zeCommandListCreateCloneExp_t(self.__dditable.CommandListExp.pfnCreateCloneExp)
|
5947 | 5943 | self.zeCommandListGetNextCommandIdExp = _zeCommandListGetNextCommandIdExp_t(self.__dditable.CommandListExp.pfnGetNextCommandIdExp)
|
5948 | 5944 | self.zeCommandListUpdateMutableCommandWaitEventsExp = _zeCommandListUpdateMutableCommandWaitEventsExp_t(self.__dditable.CommandListExp.pfnUpdateMutableCommandWaitEventsExp)
|
5949 | 5945 | self.zeCommandListImmediateAppendCommandListsExp = _zeCommandListImmediateAppendCommandListsExp_t(self.__dditable.CommandListExp.pfnImmediateAppendCommandListsExp)
|
| 5946 | + self.zeCommandListGetNextCommandIdWithKernelsExp = _zeCommandListGetNextCommandIdWithKernelsExp_t(self.__dditable.CommandListExp.pfnGetNextCommandIdWithKernelsExp) |
| 5947 | + self.zeCommandListUpdateMutableCommandsExp = _zeCommandListUpdateMutableCommandsExp_t(self.__dditable.CommandListExp.pfnUpdateMutableCommandsExp) |
| 5948 | + self.zeCommandListUpdateMutableCommandSignalEventExp = _zeCommandListUpdateMutableCommandSignalEventExp_t(self.__dditable.CommandListExp.pfnUpdateMutableCommandSignalEventExp) |
| 5949 | + self.zeCommandListUpdateMutableCommandKernelsExp = _zeCommandListUpdateMutableCommandKernelsExp_t(self.__dditable.CommandListExp.pfnUpdateMutableCommandKernelsExp) |
5950 | 5950 |
|
5951 | 5951 | # call driver to get function pointers
|
5952 | 5952 | _Image = _ze_image_dditable_t()
|
|
0 commit comments