From 01160c05d08181f77f480629ac3df128a1b4cb8f Mon Sep 17 00:00:00 2001 From: Mateusz Jablonski Date: Wed, 30 Apr 2025 14:32:02 +0000 Subject: [PATCH] fix: add missing ZE_APICALL keyword in extension function Signed-off-by: Mateusz Jablonski --- level_zero/include/level_zero/ze_intel_gpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/level_zero/include/level_zero/ze_intel_gpu.h b/level_zero/include/level_zero/ze_intel_gpu.h index 97d1a3fdae..988fbfe7a7 100644 --- a/level_zero/include/level_zero/ze_intel_gpu.h +++ b/level_zero/include/level_zero/ze_intel_gpu.h @@ -283,7 +283,7 @@ zeIntelKernelGetBinaryExp( /// - Default context contains all devices within driver instance /// @returns /// - Context handle associated with driver -ze_context_handle_t zeDriverGetDefaultContext(ze_driver_handle_t hDriver); ///> [in] handle of the driver +ze_context_handle_t ZE_APICALL zeDriverGetDefaultContext(ze_driver_handle_t hDriver); ///> [in] handle of the driver /// @brief Get default context associated with default driver /// @@ -293,7 +293,7 @@ ze_context_handle_t zeDriverGetDefaultContext(ze_driver_handle_t hDriver); ///> /// - Default context contains all devices within default driver instance /// @returns /// - Context handle associated with default driver -ze_context_handle_t zerDriverGetDefaultContext(); +ze_context_handle_t ZE_APICALL zerDriverGetDefaultContext(); #if defined(__cplusplus) } // extern "C"