Skip to content

Commit

Permalink
[cublas][curand][cusolver] Fix OpenCL include dir hint (#597)
Browse files Browse the repository at this point in the history
  • Loading branch information
npmiller authored Oct 23, 2024
1 parent 7644873 commit 1462c0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/FindcuBLAS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
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 1462c0b

Please sign in to comment.