forked from ornladios/ADIOS2
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ornladios#4366 from anagainaru/kokkos-testing-fix
Fix the Kokkos testing compilation error on Frontier
- Loading branch information
Showing
5 changed files
with
26 additions
and
15 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
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,17 @@ | ||
# ------------------------------------------------------------------------------# | ||
# Distributed under the OSI-approved Apache License, Version 2.0. See | ||
# accompanying file Copyright.txt for details. | ||
# ------------------------------------------------------------------------------# | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
if(DEFINED Kokkos_CXX_COMPILER) | ||
set(CMAKE_CXX_COMPILER "${Kokkos_CXX_COMPILER}") | ||
endif() | ||
|
||
gtest_add_tests_helper(WriteReadKokkos MPI_ALLOW BP Engine.BP. .BP5 | ||
WORKING_DIRECTORY ${BP5_DIR} EXTRA_ARGS "BP5" | ||
) | ||
|
||
foreach(tgt ${Test.Engine.BP.WriteReadKokkos-TARGETS}) | ||
target_link_libraries(${tgt} Kokkos::kokkos) | ||
endforeach() |
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