Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[LAPACK][CUSOLVER] Add getri batch funcs #248

Merged
merged 3 commits into from
Jun 2, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/lapack/backends/cusolver/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
set(LIB_NAME onemkl_lapack_cusolver)
set(LIB_OBJ ${LIB_NAME}_obj)
find_package(cuSOLVER REQUIRED)
find_package(cuBLAS REQUIRED)
set(SOURCES cusolver_lapack.cpp
cusolver_batch.cpp
$<$<STREQUAL:${ONEMKL_SYCL_IMPLEMENTATION},dpc++>:cusolver_scope_handle.cpp >
Expand All @@ -31,10 +32,14 @@ target_include_directories(${LIB_OBJ}
PRIVATE ${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/src/include
${PROJECT_SOURCE_DIR}/src
${PROJECT_SOURCE_DIR}/src/blas/backends/cublas
${CMAKE_BINARY_DIR}/bin
)
target_compile_options(${LIB_OBJ} PRIVATE ${ONEMKL_BUILD_COPT})
target_link_libraries(${LIB_OBJ} PUBLIC ONEMKL::SYCL::SYCL ONEMKL::cuSOLVER::cuSOLVER)
target_link_libraries(${LIB_OBJ}
PUBLIC ONEMKL::SYCL::SYCL
ONEMKL::cuSOLVER::cuSOLVER
ONEMKL::cuBLAS::cuBLAS)
target_compile_features(${LIB_OBJ} PUBLIC cxx_std_11)
set_target_properties(${LIB_OBJ} PROPERTIES
POSITION_INDEPENDENT_CODE ON)
Expand Down
Loading