Skip to content

Commit 638f9c3

Browse files
committed
Remove 1.1 APIs from Tracer Callbacks to fix backwards compat
Signed-off-by: Brandon Yates <[email protected]>
1 parent e68df28 commit 638f9c3

File tree

11 files changed

+385
-496
lines changed

11 files changed

+385
-496
lines changed

include/ze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
SPDX-License-Identifier: MIT
55
66
@file ze.py
7-
@version v1.1-r1.1.8
7+
@version v1.1-r1.1.10
88
99
"""
1010
import platform

include/ze_api.h

Lines changed: 1 addition & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file ze_api.h
8-
* @version v1.1-r1.1.8
8+
* @version v1.1-r1.1.10
99
*
1010
*/
1111
#ifndef _ZE_API_H
@@ -6245,30 +6245,6 @@ typedef void (ZE_APICALL *ze_pfnDriverGetExtensionPropertiesCb_t)(
62456245
void** ppTracerInstanceUserData
62466246
);
62476247

6248-
///////////////////////////////////////////////////////////////////////////////
6249-
/// @brief Callback function parameters for zeDriverGetExtensionFunctionAddress
6250-
/// @details Each entry is a pointer to the parameter passed to the function;
6251-
/// allowing the callback the ability to modify the parameter's value
6252-
typedef struct _ze_driver_get_extension_function_address_params_t
6253-
{
6254-
ze_driver_handle_t* phDriver;
6255-
const char** pname;
6256-
void*** pppFunctionAddress;
6257-
} ze_driver_get_extension_function_address_params_t;
6258-
6259-
///////////////////////////////////////////////////////////////////////////////
6260-
/// @brief Callback function-pointer for zeDriverGetExtensionFunctionAddress
6261-
/// @param[in] params Parameters passed to this instance
6262-
/// @param[in] result Return value
6263-
/// @param[in] pTracerUserData Per-Tracer user data
6264-
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
6265-
typedef void (ZE_APICALL *ze_pfnDriverGetExtensionFunctionAddressCb_t)(
6266-
ze_driver_get_extension_function_address_params_t* params,
6267-
ze_result_t result,
6268-
void* pTracerUserData,
6269-
void** ppTracerInstanceUserData
6270-
);
6271-
62726248
///////////////////////////////////////////////////////////////////////////////
62736249
/// @brief Table of Driver callback functions pointers
62746250
typedef struct _ze_driver_callbacks_t
@@ -6278,7 +6254,6 @@ typedef struct _ze_driver_callbacks_t
62786254
ze_pfnDriverGetPropertiesCb_t pfnGetPropertiesCb;
62796255
ze_pfnDriverGetIpcPropertiesCb_t pfnGetIpcPropertiesCb;
62806256
ze_pfnDriverGetExtensionPropertiesCb_t pfnGetExtensionPropertiesCb;
6281-
ze_pfnDriverGetExtensionFunctionAddressCb_t pfnGetExtensionFunctionAddressCb;
62826257
} ze_driver_callbacks_t;
62836258

62846259
///////////////////////////////////////////////////////////////////////////////
@@ -6609,30 +6584,6 @@ typedef void (ZE_APICALL *ze_pfnDeviceGetStatusCb_t)(
66096584
void** ppTracerInstanceUserData
66106585
);
66116586

6612-
///////////////////////////////////////////////////////////////////////////////
6613-
/// @brief Callback function parameters for zeDeviceGetGlobalTimestamps
6614-
/// @details Each entry is a pointer to the parameter passed to the function;
6615-
/// allowing the callback the ability to modify the parameter's value
6616-
typedef struct _ze_device_get_global_timestamps_params_t
6617-
{
6618-
ze_device_handle_t* phDevice;
6619-
uint64_t** phostTimestamp;
6620-
uint64_t** pdeviceTimestamp;
6621-
} ze_device_get_global_timestamps_params_t;
6622-
6623-
///////////////////////////////////////////////////////////////////////////////
6624-
/// @brief Callback function-pointer for zeDeviceGetGlobalTimestamps
6625-
/// @param[in] params Parameters passed to this instance
6626-
/// @param[in] result Return value
6627-
/// @param[in] pTracerUserData Per-Tracer user data
6628-
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
6629-
typedef void (ZE_APICALL *ze_pfnDeviceGetGlobalTimestampsCb_t)(
6630-
ze_device_get_global_timestamps_params_t* params,
6631-
ze_result_t result,
6632-
void* pTracerUserData,
6633-
void** ppTracerInstanceUserData
6634-
);
6635-
66366587
///////////////////////////////////////////////////////////////////////////////
66376588
/// @brief Table of Device callback functions pointers
66386589
typedef struct _ze_device_callbacks_t
@@ -6651,7 +6602,6 @@ typedef struct _ze_device_callbacks_t
66516602
ze_pfnDeviceGetP2PPropertiesCb_t pfnGetP2PPropertiesCb;
66526603
ze_pfnDeviceCanAccessPeerCb_t pfnCanAccessPeerCb;
66536604
ze_pfnDeviceGetStatusCb_t pfnGetStatusCb;
6654-
ze_pfnDeviceGetGlobalTimestampsCb_t pfnGetGlobalTimestampsCb;
66556605
} ze_device_callbacks_t;
66566606

66576607
///////////////////////////////////////////////////////////////////////////////
@@ -6843,32 +6793,6 @@ typedef void (ZE_APICALL *ze_pfnContextEvictImageCb_t)(
68436793
void** ppTracerInstanceUserData
68446794
);
68456795

6846-
///////////////////////////////////////////////////////////////////////////////
6847-
/// @brief Callback function parameters for zeContextCreateEx
6848-
/// @details Each entry is a pointer to the parameter passed to the function;
6849-
/// allowing the callback the ability to modify the parameter's value
6850-
typedef struct _ze_context_create_ex_params_t
6851-
{
6852-
ze_driver_handle_t* phDriver;
6853-
const ze_context_desc_t** pdesc;
6854-
uint32_t* pnumDevices;
6855-
ze_device_handle_t** pphDevices;
6856-
ze_context_handle_t** pphContext;
6857-
} ze_context_create_ex_params_t;
6858-
6859-
///////////////////////////////////////////////////////////////////////////////
6860-
/// @brief Callback function-pointer for zeContextCreateEx
6861-
/// @param[in] params Parameters passed to this instance
6862-
/// @param[in] result Return value
6863-
/// @param[in] pTracerUserData Per-Tracer user data
6864-
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
6865-
typedef void (ZE_APICALL *ze_pfnContextCreateExCb_t)(
6866-
ze_context_create_ex_params_t* params,
6867-
ze_result_t result,
6868-
void* pTracerUserData,
6869-
void** ppTracerInstanceUserData
6870-
);
6871-
68726796
///////////////////////////////////////////////////////////////////////////////
68736797
/// @brief Table of Context callback functions pointers
68746798
typedef struct _ze_context_callbacks_t
@@ -6881,7 +6805,6 @@ typedef struct _ze_context_callbacks_t
68816805
ze_pfnContextEvictMemoryCb_t pfnEvictMemoryCb;
68826806
ze_pfnContextMakeImageResidentCb_t pfnMakeImageResidentCb;
68836807
ze_pfnContextEvictImageCb_t pfnEvictImageCb;
6884-
ze_pfnContextCreateExCb_t pfnCreateExCb;
68856808
} ze_context_callbacks_t;
68866809

68876810
///////////////////////////////////////////////////////////////////////////////
@@ -8756,31 +8679,6 @@ typedef void (ZE_APICALL *ze_pfnKernelGetNameCb_t)(
87568679
void** ppTracerInstanceUserData
87578680
);
87588681

8759-
///////////////////////////////////////////////////////////////////////////////
8760-
/// @brief Callback function parameters for zeKernelSetGlobalOffsetExp
8761-
/// @details Each entry is a pointer to the parameter passed to the function;
8762-
/// allowing the callback the ability to modify the parameter's value
8763-
typedef struct _ze_kernel_set_global_offset_exp_params_t
8764-
{
8765-
ze_kernel_handle_t* phKernel;
8766-
uint32_t* poffsetX;
8767-
uint32_t* poffsetY;
8768-
uint32_t* poffsetZ;
8769-
} ze_kernel_set_global_offset_exp_params_t;
8770-
8771-
///////////////////////////////////////////////////////////////////////////////
8772-
/// @brief Callback function-pointer for zeKernelSetGlobalOffsetExp
8773-
/// @param[in] params Parameters passed to this instance
8774-
/// @param[in] result Return value
8775-
/// @param[in] pTracerUserData Per-Tracer user data
8776-
/// @param[in,out] ppTracerInstanceUserData Per-Tracer, Per-Instance user data
8777-
typedef void (ZE_APICALL *ze_pfnKernelSetGlobalOffsetExpCb_t)(
8778-
ze_kernel_set_global_offset_exp_params_t* params,
8779-
ze_result_t result,
8780-
void* pTracerUserData,
8781-
void** ppTracerInstanceUserData
8782-
);
8783-
87848682
///////////////////////////////////////////////////////////////////////////////
87858683
/// @brief Table of Kernel callback functions pointers
87868684
typedef struct _ze_kernel_callbacks_t
@@ -8797,7 +8695,6 @@ typedef struct _ze_kernel_callbacks_t
87978695
ze_pfnKernelGetSourceAttributesCb_t pfnGetSourceAttributesCb;
87988696
ze_pfnKernelGetPropertiesCb_t pfnGetPropertiesCb;
87998697
ze_pfnKernelGetNameCb_t pfnGetNameCb;
8800-
ze_pfnKernelSetGlobalOffsetExpCb_t pfnSetGlobalOffsetExpCb;
88018698
} ze_kernel_callbacks_t;
88028699

88038700
///////////////////////////////////////////////////////////////////////////////

include/ze_ddi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file ze_ddi.h
8-
* @version v1.1-r1.1.8
8+
* @version v1.1-r1.1.10
99
*
1010
*/
1111
#ifndef _ZE_DDI_H

include/zes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
SPDX-License-Identifier: MIT
55
66
@file zes.py
7-
@version v1.1-r1.1.8
7+
@version v1.1-r1.1.10
88
99
"""
1010
import platform

include/zes_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file zes_api.h
8-
* @version v1.1-r1.1.8
8+
* @version v1.1-r1.1.10
99
*
1010
*/
1111
#ifndef _ZES_API_H

include/zes_ddi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file zes_ddi.h
8-
* @version v1.1-r1.1.8
8+
* @version v1.1-r1.1.10
99
*
1010
*/
1111
#ifndef _ZES_DDI_H

include/zet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
SPDX-License-Identifier: MIT
55
66
@file zet.py
7-
@version v1.1-r1.1.8
7+
@version v1.1-r1.1.10
88
99
"""
1010
import platform

include/zet_api.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file zet_api.h
8-
* @version v1.1-r1.1.8
8+
* @version v1.1-r1.1.10
99
*
1010
*/
1111
#ifndef _ZET_API_H

include/zet_ddi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: MIT
66
*
77
* @file zet_ddi.h
8-
* @version v1.1-r1.1.8
8+
* @version v1.1-r1.1.10
99
*
1010
*/
1111
#ifndef _ZET_DDI_H

0 commit comments

Comments
 (0)