-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1b9daa5
commit 7cfe742
Showing
3 changed files
with
17 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
set(CMAKE_CXX_COMPILER "/gpfs/alpine/csc303/scratch/vbolea/kokkos-4.0.00/bin/nvcc_wrapper") | ||
add_library(adios2_core_kokkos adiosKokkos.h adiosKokkos.cpp) | ||
|
||
set_target_properties(adios2_core_kokkos PROPERTIES | ||
VISIBILITY_INLINES_HIDDEN ON | ||
INCLUDE_DIRECTORIES "$<BUILD_INTERFACE:${ADIOS2_SOURCE_DIR}/source>;$<BUILD_INTERFACE:${ADIOS2_BINARY_DIR}/source>" | ||
EXPORT_NAME core_kokkos | ||
OUTPUT_NAME adios2${ADIOS2_LIBRARY_SUFFIX}_core_kokkos | ||
) | ||
|
||
kokkos_compilation(SOURCE adiosKokkos.cpp) | ||
|
||
target_link_libraries(adios2_core_kokkos PRIVATE Kokkos::kokkos) | ||
|