Skip to content

Commit

Permalink
Disable default oneDPL support in Trilinos
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Aug 8, 2023
1 parent 11c6cf7 commit 4df5761
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cmake/kokkos_tpls.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ ELSE()
SET(ROCM_DEFAULT OFF)
ENDIF()
KOKKOS_TPL_OPTION(ROCM ${ROCM_DEFAULT})
KOKKOS_TPL_OPTION(ONEDPL ${Kokkos_ENABLE_SYCL})
IF(KOKKOS_ENABLE_SYCL AND NOT KOKKOS_HAS_TRILINOS)
SET(ONEDPL_DEFAULT ON)
ELSE()
SET(ONEDPL_DEFAULT OFF)
ENDIF()
KOKKOS_TPL_OPTION(ONEDPL ${ONEDPL_DEFAULT})

IF (WIN32)
SET(LIBDL_DEFAULT Off)
Expand Down

0 comments on commit 4df5761

Please sign in to comment.