Don't point to the CL dir for SYCL
This commit is contained in:
parent
5318404249
commit
4d00a8699e
@ -48,7 +48,7 @@ macro(setup)
|
|||||||
set(ComputeCpp_DIR ${SYCL_COMPILER_DIR})
|
set(ComputeCpp_DIR ${SYCL_COMPILER_DIR})
|
||||||
|
|
||||||
# don't point to the CL dir as the imports already have the CL prefix
|
# don't point to the CL dir as the imports already have the CL prefix
|
||||||
set(OpenCL_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/CL")
|
set(OpenCL_INCLUDE_DIR "${CMAKE_SOURCE_DIR}")
|
||||||
|
|
||||||
register_definitions(CL_TARGET_OPENCL_VERSION=220 _GLIBCXX_USE_CXX11_ABI=0)
|
register_definitions(CL_TARGET_OPENCL_VERSION=220 _GLIBCXX_USE_CXX11_ABI=0)
|
||||||
# ComputeCpp needs OpenCL
|
# ComputeCpp needs OpenCL
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user