Skip to content

Commit

Permalink
experimental mkl sycl
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Solovev committed Nov 12, 2024
1 parent 57ec34d commit 9ace5b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/cmake/setup_samples.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ function(add_samples samples_paths)
endif()

if(UNIX AND NOT APPLE)
target_link_libraries(${sample} PRIVATE -Wl,--start-group ${oneDAL_IMPORTED_TARGETS} ${MPI_DEPENDENCIES} -Wl,--end-group)
target_link_libraries(${sample} PRIVATE -Wl,--start-group ${oneDAL_IMPORTED_TARGETS} ${MPI_DEPENDENCIES} MKL::MKL_SYCL -Wl,--end-group)
else()
target_link_libraries(${sample} PRIVATE ${oneDAL_IMPORTED_TARGETS} ${MPI_DEPENDENCIES})
target_link_libraries(${sample} PRIVATE ${oneDAL_IMPORTED_TARGETS} ${MPI_DEPENDENCIES} MKL::MKL_SYCL)
endif()

target_compile_options(${sample} PRIVATE ${ONEDAL_CUSTOM_COMPILE_OPTIONS})
Expand Down

0 comments on commit 9ace5b9

Please sign in to comment.