fix: add missing ZE_APIEXPORT and ZE_APICALL keywords

Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
This commit is contained in:
Naklicki, Mateusz 2025-05-07 16:50:54 +00:00 committed by Compute-Runtime-Automation
parent 8327cdb39c
commit 9008ca7b3f
3 changed files with 7 additions and 7 deletions

View File

@ -288,14 +288,14 @@ ZE_APIEXPORT ze_result_t ZE_APICALL zeDeviceGetGlobalTimestamps(
deviceTimestamp);
}
ze_result_t zeDeviceReserveCacheExt(
ZE_APIEXPORT ze_result_t ZE_APICALL zeDeviceReserveCacheExt(
ze_device_handle_t hDevice,
size_t cacheLevel,
size_t cacheReservationSize) {
return L0::zeDeviceReserveCacheExt(hDevice, cacheLevel, cacheReservationSize);
}
ze_result_t zeDeviceSetCacheAdviceExt(
ZE_APIEXPORT ze_result_t ZE_APICALL zeDeviceSetCacheAdviceExt(
ze_device_handle_t hDevice,
void *ptr,
size_t regionSize,
@ -303,7 +303,7 @@ ze_result_t zeDeviceSetCacheAdviceExt(
return L0::zeDeviceSetCacheAdviceExt(hDevice, ptr, regionSize, cacheRegion);
}
ze_result_t zeDevicePciGetPropertiesExt(
ZE_APIEXPORT ze_result_t ZE_APICALL zeDevicePciGetPropertiesExt(
ze_device_handle_t hDevice,
ze_pci_ext_properties_t *pPciProperties) {
return L0::zeDevicePciGetPropertiesExt(hDevice, pPciProperties);

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2024 Intel Corporation
* Copyright (C) 2020-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -113,7 +113,7 @@ ZE_APIEXPORT ze_result_t ZE_APICALL zeDriverGetIpcProperties(
pIpcProperties);
}
ZE_APIEXPORT ze_result_t zeDriverGetLastErrorDescription(
ZE_APIEXPORT ze_result_t ZE_APICALL zeDriverGetLastErrorDescription(
ze_driver_handle_t hDriver,
const char **ppString) {
return L0::zeDriverGetLastErrorDescription(

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2024 Intel Corporation
* Copyright (C) 2024-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -458,4 +458,4 @@ typedef struct _zet_intel_metric_df_gpu_export_data_format_t {
} // extern "C"
#endif
#endif // _ZET_INTEL_GPU_METRIC_H
#endif // _ZET_INTEL_GPU_METRIC_EXPORT_H