Skip to content

Commit

Permalink
[curand][cusolver] Fix OpenCL include dir hint for cuBLAS
Browse files Browse the repository at this point in the history
  • Loading branch information
npmiller committed Oct 18, 2024
1 parent fe02edf commit 5d3b6fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/FindcuRAND.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
1 change: 1 addition & 0 deletions cmake/FindcuSOLVER.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5d3b6fd

Please sign in to comment.