diff --git a/cmake/FindcuBLAS.cmake b/cmake/FindcuBLAS.cmake index c26a62f6b..496226580 100644 --- a/cmake/FindcuBLAS.cmake +++ b/cmake/FindcuBLAS.cmake @@ -26,6 +26,7 @@ HINTS ${OPENCL_INCLUDE_DIR} ${SYCL_BINARY_DIR}/../include/sycl/ ${SYCL_BINARY_DIR}/../../include/sycl/ +${SYCL_BINARY_DIR}/../include/ ) # this is work around to avoid duplication half creation in both cuda and SYCL add_compile_definitions(CUDA_NO_HALF) diff --git a/cmake/FindcuRAND.cmake b/cmake/FindcuRAND.cmake index df353077c..c2df693aa 100644 --- a/cmake/FindcuRAND.cmake +++ b/cmake/FindcuRAND.cmake @@ -66,6 +66,7 @@ find_path(OPENCL_INCLUDE_DIR CL/cl.h OpenCL/cl.h HINTS ${OPENCL_INCLUDE_DIR} ${SYCL_BINARY_DIR}/../include/sycl/ +${SYCL_BINARY_DIR}/../include/ ) endif() diff --git a/cmake/FindcuSOLVER.cmake b/cmake/FindcuSOLVER.cmake index 0f7f59564..eafcf96aa 100644 --- a/cmake/FindcuSOLVER.cmake +++ b/cmake/FindcuSOLVER.cmake @@ -25,6 +25,7 @@ find_path(OPENCL_INCLUDE_DIR CL/cl.h OpenCL/cl.h HINTS ${OPENCL_INCLUDE_DIR} ${SYCL_BINARY_DIR}/../include/sycl/ +${SYCL_BINARY_DIR}/../include/ ) # this is work around to avoid duplication half creation in both cuda and SYCL add_compile_definitions(CUDA_NO_HALF)