Skip to content

Commit

Permalink
fixup! [sycl] use newer MKL target if available
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Nov 18, 2024
1 parent 2f91a96 commit ee6af20
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dpcpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,8 @@ target_link_libraries(ginkgo_dpcpp PUBLIC ginkgo_device)
target_link_libraries(ginkgo_dpcpp PRIVATE oneDPL)
# MKL 2024.0+ provides the MKL::MKL_SYCL target, while older versions provide *_DPCPP
if(MKL_VERSION_MAJOR VERSION_GREATER_EQUAL 2024)
message(WARNING "Selecting MKL::MKL_SYCL")
target_link_libraries(ginkgo_dpcpp PRIVATE MKL::MKL_SYCL)
else ()
message(WARNING "Selecting MKL::MKL_DPCPP")
target_link_libraries(ginkgo_dpcpp PRIVATE MKL::MKL_DPCPP)
endif ()
if (GINKGO_DPCPP_SINGLE_MODE)
Expand Down

0 comments on commit ee6af20

Please sign in to comment.