Skip to content

Commit

Permalink
[cmake] add kokkos kernels support for blas backend
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisCarouge committed Jan 22, 2023
1 parent 4a92b75 commit 7fd7acc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,15 @@ FetchContent_Declare(
FIND_PACKAGE_ARGS NAMES Kokkos)
FetchContent_MakeAvailable(kokkos)

FetchContent_Declare(
kokkos_kernels
GIT_REPOSITORY "https://github.com/kokkos/kokkos-kernels"
FIND_PACKAGE_ARGS NAMES KokkosKernels)
FetchContent_MakeAvailable(kokkos_kernels)
# if(WIN32)
# target_compile_options(kokkoskernels PRIVATE "/bigobj")
# endif()

add_subdirectory(benchmark)
add_subdirectory(cmake)
add_subdirectory(include)
Expand Down

0 comments on commit 7fd7acc

Please sign in to comment.