Skip to content

Commit 7e27ebe

Browse files
Fix version-script for ze_intel_gpu
- export only ze* functions Related-To: NEO-5509 Signed-off-by: Mateusz Hoppe <[email protected]>
1 parent 6e75024 commit 7e27ebe

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

level_zero/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -467,11 +467,6 @@ if(BUILD_WITH_L0)
467467
append_sources_from_properties(L0_SHARED_LIB_SRCS L0_SRCS_DLL NEO_CORE_SRCS_LINK)
468468
target_sources(${TARGET_NAME_L0} PRIVATE $<TARGET_OBJECTS:${L0_RELEASE_LIB_NAME}> ${L0_SHARED_LIB_SRCS})
469469

470-
target_link_libraries(${TARGET_NAME_L0}
471-
${NEO_STATICALLY_LINKED_LIBRARIES}
472-
${OS_SPECIFIC_LIBS} ${ASAN_LIBS} ${TSAN_LIBS}
473-
)
474-
475470
if(UNIX)
476471
target_link_libraries(${TARGET_NAME_L0} ${GMM_LINK_NAME})
477472

@@ -480,6 +475,11 @@ if(BUILD_WITH_L0)
480475
)
481476
endif()
482477

478+
target_link_libraries(${TARGET_NAME_L0}
479+
${NEO_STATICALLY_LINKED_LIBRARIES}
480+
${OS_SPECIFIC_LIBS} ${ASAN_LIBS} ${TSAN_LIBS}
481+
)
482+
483483
create_source_tree(${TARGET_NAME_L0} ${L0_ROOT_DIR}/..)
484484

485485
set_property(TARGET ${TARGET_NAME_L0} APPEND_STRING PROPERTY COMPILE_FLAGS ${ASAN_FLAGS})
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
/*
2-
* Copyright (C) 2020 Intel Corporation
2+
* Copyright (C) 2020-2021 Intel Corporation
33
*
44
* SPDX-License-Identifier: MIT
55
*
66
*/
77

88
{
9+
global:
10+
ze*;
911
local:
10-
cl*;
12+
*;
1113
};

0 commit comments

Comments
 (0)