Skip to content

Commit 4b1c916

Browse files
committed
moved comments in the right place
Signed-off-by: Byoungro So <[email protected]>
1 parent aeff97f commit 4b1c916

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/plugins/opencl/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ set_target_properties(pi_opencl PROPERTIES LINKER_LANGUAGE CXX)
2727
#preprocessor definitions for compiling a target's sources. We do not need it for pi_opencl
2828
target_include_directories(pi_opencl PRIVATE "${sycl_inc_dir}")
2929

30+
#link pi_opencl with OpenCL headers and ICD Loader.
3031
target_link_libraries( pi_opencl
3132
PRIVATE OpenCL::Headers
3233
PRIVATE ${OpenCL_LIBRARIES}
@@ -44,10 +45,9 @@ else()
4445
# All other symbols are regarded as local (hidden)
4546
set(linker_script "${CMAKE_CURRENT_SOURCE_DIR}/../ld-version-script.txt")
4647

47-
#link pi_opencl with OpenCL headers and ICD Loader.
48+
# Filter symbols based on the scope defined in the script file,
49+
# and export pi* function symbols in the library.
4850
target_link_libraries( pi_opencl
49-
# Filter symbols based on the scope defined in the script file,
50-
# and export pi* function symbols in the library.
5151
PRIVATE "-Wl,--version-script=${linker_script}"
5252
)
5353
endif()

0 commit comments

Comments
 (0)