File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,9 @@ endif()
136
136
137
137
add_dependencies (sycl-toolchain pi_level_zero )
138
138
target_link_libraries (pi_level_zero
139
- PRIVATE "${LEVEL_ZERO_LOADER} "
140
- PRIVATE OpenCL-Headers
139
+ PRIVATE
140
+ "${LEVEL_ZERO_LOADER} "
141
+ OpenCL-Headers
141
142
)
142
143
143
144
if (UNIX )
Original file line number Diff line number Diff line change 6
6
7
7
# Plugin for OpenCL
8
8
# Create Shared library for libpi_opencl.so.
9
- #TODO: remove dependency on pi.hpp in sycl project.
9
+ #TODO: remove dependency on pi.h in sycl project.
10
10
#TODO: Currently, the pi.h header is common between sycl and plugin library sources.
11
- #This can be changed by copying the pi.hpp file in the plugins project.
11
+ #This can be changed by copying the pi.h file in the plugins project.
12
12
13
13
add_library (pi_opencl SHARED
14
14
"${sycl_inc_dir} /CL/sycl/detail/pi.h"
@@ -24,8 +24,9 @@ target_include_directories(pi_opencl PRIVATE "${sycl_inc_dir}")
24
24
25
25
#link pi_opencl with OpenCL headers and ICD Loader.
26
26
target_link_libraries (pi_opencl
27
- PRIVATE OpenCL-Headers
28
- PRIVATE OpenCL-ICD
27
+ PRIVATE
28
+ OpenCL-Headers
29
+ OpenCL-ICD
29
30
)
30
31
if (MSVC )
31
32
# by defining __SYCL_BUILD_SYCL_DLL, we can use __declspec(dllexport)
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ target_include_directories(PiCudaTests
21
21
PRIVATE
22
22
"../"
23
23
"${sycl_inc_dir} /CL/sycl/detail/"
24
- ${sycl_inc_dir}
24
+ " ${sycl_inc_dir} "
25
25
"${sycl_plugin_dir} /cuda/"
26
26
)
27
27
You can’t perform that action at this time.
0 commit comments