From 5d3b6fd8329515ad7f7335514309ef82ca81f2c0 Mon Sep 17 00:00:00 2001 From: Nicolas Miller Date: Fri, 18 Oct 2024 16:17:48 +0100 Subject: [PATCH] [curand][cusolver] Fix OpenCL include dir hint for cuBLAS --- cmake/FindcuRAND.cmake | 1 + cmake/FindcuSOLVER.cmake | 1 + 2 files changed, 2 insertions(+) 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)