Skip to content

Commit 68aed2d

Browse files
authored
Merge pull request #2553 from igchor/fix_linkage
[L0] fix linkage for urPhysicalMemGetInfo on Windows
2 parents 0125279 + e18327e commit 68aed2d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/adapters/level_zero/physical_mem.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ ur_result_t urPhysicalMemRelease(ur_physical_mem_handle_t hPhysicalMem) {
5757
return UR_RESULT_SUCCESS;
5858
}
5959

60-
UR_APIEXPORT ur_result_t UR_APICALL urPhysicalMemGetInfo(
61-
ur_physical_mem_handle_t hPhysicalMem, ur_physical_mem_info_t propName,
62-
size_t propSize, void *pPropValue, size_t *pPropSizeRet) {
60+
ur_result_t urPhysicalMemGetInfo(ur_physical_mem_handle_t hPhysicalMem,
61+
ur_physical_mem_info_t propName,
62+
size_t propSize, void *pPropValue,
63+
size_t *pPropSizeRet) {
6364

6465
UrReturnHelper ReturnValue(propSize, pPropValue, pPropSizeRet);
6566

0 commit comments

Comments
 (0)