From ae2dce4070d1b0e20970c8932072c05431c335de Mon Sep 17 00:00:00 2001 From: Mateusz Jablonski Date: Thu, 16 Oct 2025 13:57:39 +0000 Subject: [PATCH] fix: add missing ZE_APIEXPORT keywords Related-To: NEO-14560 Signed-off-by: Mateusz Jablonski --- level_zero/api/core/ze_device_api_entrypoints.h | 2 +- level_zero/api/core/ze_driver_api_entrypoints.h | 2 +- level_zero/include/level_zero/ze_intel_gpu.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/level_zero/api/core/ze_device_api_entrypoints.h b/level_zero/api/core/ze_device_api_entrypoints.h index 9e5d8702f5..0118a1cbc3 100644 --- a/level_zero/api/core/ze_device_api_entrypoints.h +++ b/level_zero/api/core/ze_device_api_entrypoints.h @@ -372,7 +372,7 @@ ZE_APIEXPORT ze_device_handle_t ZE_APICALL zerTranslateIdentifierToDeviceHandle( return L0::zerTranslateIdentifierToDeviceHandle(identifier); } -ze_result_t ZE_APICALL zeDeviceSynchronize(ze_device_handle_t hDevice) { +ZE_APIEXPORT ze_result_t ZE_APICALL zeDeviceSynchronize(ze_device_handle_t hDevice) { return L0::zeDeviceSynchronize(hDevice); } diff --git a/level_zero/api/core/ze_driver_api_entrypoints.h b/level_zero/api/core/ze_driver_api_entrypoints.h index 262dd07c91..340acedd32 100644 --- a/level_zero/api/core/ze_driver_api_entrypoints.h +++ b/level_zero/api/core/ze_driver_api_entrypoints.h @@ -153,7 +153,7 @@ ZE_APIEXPORT ze_result_t ZE_APICALL zeDriverGetExtensionFunctionAddress( ppFunctionAddress); } -ze_context_handle_t ZE_APICALL zeDriverGetDefaultContext( +ZE_APIEXPORT ze_context_handle_t ZE_APICALL zeDriverGetDefaultContext( ze_driver_handle_t hDriver) { return L0::zeDriverGetDefaultContext(hDriver); } diff --git a/level_zero/include/level_zero/ze_intel_gpu.h b/level_zero/include/level_zero/ze_intel_gpu.h index 3d626dea15..cfabecbc92 100644 --- a/level_zero/include/level_zero/ze_intel_gpu.h +++ b/level_zero/include/level_zero/ze_intel_gpu.h @@ -649,7 +649,7 @@ zerGetLastErrorDescription( /// - Default context contains all devices within driver instance /// @returns /// - Context handle associated with driver -ze_context_handle_t ZE_APICALL zeDriverGetDefaultContext(ze_driver_handle_t hDriver); ///> [in] handle of the driver +ZE_APIEXPORT ze_context_handle_t ZE_APICALL zeDriverGetDefaultContext(ze_driver_handle_t hDriver); ///> [in] handle of the driver /// @brief Global device synchronization /// @@ -665,7 +665,7 @@ ze_context_handle_t ZE_APICALL zeDriverGetDefaultContext(ze_driver_handle_t hDri /// @returns /// - ::ZE_RESULT_SUCCESS /// - ::ZE_RESULT_ERROR_DEVICE_LOST -ze_result_t ZE_APICALL zeDeviceSynchronize(ze_device_handle_t hDevice); ///> [in] handle of the device +ZE_APIEXPORT ze_result_t ZE_APICALL zeDeviceSynchronize(ze_device_handle_t hDevice); ///> [in] handle of the device /// @brief Append with arguments ///