Damien Lebrun-Grandié and Daniel Arndt
Oak Ridge National Laboratory
find_package()
work// HelloWorld.cpp
#include <Kokkos_Core.hpp>
#include <cstdio>
#include <typeinfo>
int main(int &argc, char *argv[]) {
Kokkos::initialize(argc, argv);
printf("Hello World on Kokkos execution space %s\n",
typeid(Kokkos::DefaultExecutionSpace).name ());
Kokkos::parallel_for(15, KOKKOS_LAMBDA (int i) {
printf("Hello from i = %i\n", i);
});
Kokkos::finalize();
}
# CMakeLists.txt
add_executable(hello.exe HelloWorld.cpp)
# find Kokkos
# specify include directories to use
# set proper compile options
# add Kokkos library to the link line
<target>
has been created by add_library()
or add_executable()
How to use say Boost.Serialization ?
find_package(Boost COMPONENTS serialization)
target_link_libraries(<target> Boost::serialization)
find_package(<PackageName> [version] [EXACT] [QUIET] [MODULE]
[REQUIRED] [[COMPONENTS] [components...]]
[OPTIONAL_COMPONENTS components...]
[NO_POLICY_SCOPE])
<PackageName>_FOUND
set to indicate whether the package was found or not REQUIRED
option stops processing with an error message if package cannot be found [version]
argument requests a version with which the package found should be compatiblefind_package
command has two modes by which it searches for packages: "Module" mode and "Config" mode. MODULE
option present)Find<PackageName>.cmake
. <PackageName>Config.cmake
or <lower-case-package-name>-config.cmake
Kokkos can be installed via
<kokkos_path>/generate_makefile.bash \
--prefix=<prefix> \
--arch=Volta70,SNB \
--with-serial \
--with-openmp \
--with-cuda \
--with-cuda-options=enable_lambda
cmake \
-D CMAKE_INSTALL_PREFIX=<prefix> \
-D KOKKOS_ARCH="Volta70;SNB" \
-D KOKKOS_ENABLE_SERIAL=ON \
-D KOKKOS_ENABLE_OPENMP=ON \
-D KOKKOS_ENABLE_CUDA=ON \
-D KOKKOS_ENABLE_CUDA_LAMBDA=ON \
-D CMAKE_CXX_COMPILER=<kokkos_path>/bin/nvcc_wrapper \
-D CMAKE_BUILD_TYPE=Release \
<kokkos_path>
cmake \
-D CMAKE_INSTALL_PREFIX=<prefix> \
-D KOKKOS_ARCH="Volta70;SNB" \
-D KOKKOS_ENABLE_SERIAL=ON \
-D KOKKOS_ENABLE_OPENMP=ON \
-D KOKKOS_ENABLE_CUDA=ON \
-D KOKKOS_ENABLE_CUDA_LAMBDA=ON \
-D CMAKE_CXX_COMPILER=<trilinos_path>/packages/kokkos/bin/nvcc_wrapper \
-D CMAKE_BUILD_TYPE=Release \
-D Trilinos_ENABLE_ALL_PACKAGES=OFF \
-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES=OFF \
-D Trilinos_ENABLE_Kokkos=ON \
-D Trilinos_ENABLE_OpenMP=ON \
-D Trilinos_ENABLE_Fortran=OFF \
-D TPL_ENABLE_CUDA=ON \
-D TPL_ENABLE_LIBRT=ON \
<trilinos_path>
make # or make -j<NPROCS>
make install
diff --git a/install_tree_gmake b/install_tree_cmake
index b9dae0a4..e7e934de 100644
--- a/install_tree_gmake
+++ b/install_tree_cmake
@@ -1,7 +1,4 @@
<prefix>
-|-- Makefile.kokkos
-|-- bin
-| `-- nvcc_wrapper
|-- include
| |-- Cuda
| | |-- KokkosExp_Cuda_IterateTile.hpp
@@ -87,6 +84,52 @@
| | |-- Kokkos_OpenMP_ViewCopyETIAvail.hpp
| | |-- Kokkos_OpenMP_ViewCopyETIDecl.hpp
| | `-- Kokkos_OpenMP_WorkGraphPolicy.hpp
+| |-- OpenMPTarget
+| | |-- Kokkos_OpenMPTarget_Exec.hpp
+| | |-- Kokkos_OpenMPTarget_Parallel.hpp
+| | `-- Kokkos_OpenMPTarget_Task.hpp
+| |-- Qthreads
+| | |-- Kokkos_QthreadsExec.hpp
+| | |-- Kokkos_Qthreads_Parallel.hpp
+| | |-- Kokkos_Qthreads_Task.hpp
+| | |-- Kokkos_Qthreads_TaskQueue.hpp
+| | `-- Kokkos_Qthreads_TaskQueue_impl.hpp
+| |-- ROCm
+| | |-- KokkosExp_ROCm_IterateTile_Refactor.hpp
+| | |-- Kokkos_ROCm_Atomic.hpp
+| | |-- Kokkos_ROCm_Config.hpp
+| | |-- Kokkos_ROCm_Exec.hpp
+| | |-- Kokkos_ROCm_Invoke.hpp
+| | |-- Kokkos_ROCm_Join.hpp
+| | |-- Kokkos_ROCm_Parallel.hpp
+| | |-- Kokkos_ROCm_Reduce.hpp
+| | |-- Kokkos_ROCm_ReduceScan.hpp
+| | |-- Kokkos_ROCm_Scan.hpp
+| | |-- Kokkos_ROCm_Task.hpp
+| | |-- Kokkos_ROCm_Tile.hpp
+| | |-- Kokkos_ROCm_Vectorization.hpp
+| | |-- Kokkos_ROCm_ViewCopyETIAvail.hpp
+| | |-- Kokkos_ROCm_ViewCopyETIDecl.hpp
+| | `-- hc_math_std.hpp
+| |-- Serial
+| | |-- Kokkos_Serial_ViewCopyETIAvail.hpp
+| | `-- Kokkos_Serial_ViewCopyETIDecl.hpp
+| |-- Threads
+| | |-- Kokkos_ThreadsExec.hpp
+| | |-- Kokkos_ThreadsTeam.hpp
+| | |-- Kokkos_Threads_Parallel.hpp
+| | |-- Kokkos_Threads_ViewCopyETIAvail.hpp
+| | |-- Kokkos_Threads_ViewCopyETIDecl.hpp
+| | `-- Kokkos_Threads_WorkGraphPolicy.hpp
+| |-- eti
+| | |-- Cuda
+| | |-- OpenMP
+| | |-- ROCm
+| | |-- Serial
+| | |-- Threads
+| | `-- common
+| | |-- Kokkos_ViewFillCopyETIAvail_Macros.hpp
+| | `-- Kokkos_ViewFillCopyETIDecl_Macros.hpp
| `-- impl
| |-- KokkosExp_Host_IterateTile.hpp
| |-- KokkosExp_ViewMapping.hpp
@@ -143,8 +186,16 @@
| `-- Kokkos_Volatile_Load.hpp
|-- kokkos_generated_settings.cmake
`-- lib
+ |-- CMake
+ | `-- Kokkos
+ | |-- KokkosConfig.cmake
+ | |-- KokkosTargets-noconfig.cmake
+ | `-- KokkosTargets.cmake
+ |-- cmake
+ | `-- Kokkos
+ | `-- kokkos_generated_settings.cmake
|-- libkokkos.a
`-- pkgconfig
`-- kokkos.pc
-7 directories, 140 files
+22 directories, 176 files
diff --git a/install_tree_gmake b/install_tree_cmake
index e9537c27..fc4c20e3 100644
--- a/install_tree_gmake
+++ b/install_tree_cmake
@@ -1,7 +1,4 @@
<prefix>
-|-- Makefile.kokkos
-|-- bin
-| `-- nvcc_wrapper
|-- include
| |-- Cuda
| | |-- KokkosExp_Cuda_IterateTile.hpp
@@ -24,6 +21,11 @@
| | |-- Kokkos_Cuda_ViewCopyETIDecl.hpp
| | |-- Kokkos_Cuda_WorkGraphPolicy.hpp
| | `-- Kokkos_Cuda_abort.hpp
+| |-- HPX
+| | |-- Kokkos_HPX_Task.hpp
+| | |-- Kokkos_HPX_ViewCopyETIAvail.hpp
+| | |-- Kokkos_HPX_ViewCopyETIDecl.hpp
+| | `-- Kokkos_HPX_WorkGraphPolicy.hpp
| |-- KokkosCore_config.h
| |-- KokkosExp_MDRangePolicy.hpp
| |-- Kokkos_AnonymousSpace.hpp
@@ -93,6 +95,53 @@
| | |-- Kokkos_OpenMP_ViewCopyETIAvail.hpp
| | |-- Kokkos_OpenMP_ViewCopyETIDecl.hpp
| | `-- Kokkos_OpenMP_WorkGraphPolicy.hpp
+| |-- OpenMPTarget
+| | |-- Kokkos_OpenMPTarget_Exec.hpp
+| | |-- Kokkos_OpenMPTarget_Parallel.hpp
+| | `-- Kokkos_OpenMPTarget_Task.hpp
+| |-- Qthreads
+| | |-- Kokkos_QthreadsExec.hpp
+| | |-- Kokkos_Qthreads_Parallel.hpp
+| | |-- Kokkos_Qthreads_Task.hpp
+| | |-- Kokkos_Qthreads_TaskQueue.hpp
+| | `-- Kokkos_Qthreads_TaskQueue_impl.hpp
+| |-- ROCm
+| | |-- KokkosExp_ROCm_IterateTile_Refactor.hpp
+| | |-- Kokkos_ROCm_Atomic.hpp
+| | |-- Kokkos_ROCm_Config.hpp
+| | |-- Kokkos_ROCm_Exec.hpp
+| | |-- Kokkos_ROCm_Invoke.hpp
+| | |-- Kokkos_ROCm_Join.hpp
+| | |-- Kokkos_ROCm_Parallel.hpp
+| | |-- Kokkos_ROCm_Reduce.hpp
+| | |-- Kokkos_ROCm_ReduceScan.hpp
+| | |-- Kokkos_ROCm_Scan.hpp
+| | |-- Kokkos_ROCm_Task.hpp
+| | |-- Kokkos_ROCm_Tile.hpp
+| | |-- Kokkos_ROCm_Vectorization.hpp
+| | |-- Kokkos_ROCm_ViewCopyETIAvail.hpp
+| | |-- Kokkos_ROCm_ViewCopyETIDecl.hpp
+| | `-- hc_math_std.hpp
+| |-- Serial
+| | |-- Kokkos_Serial_ViewCopyETIAvail.hpp
+| | `-- Kokkos_Serial_ViewCopyETIDecl.hpp
+| |-- Threads
+| | |-- Kokkos_ThreadsExec.hpp
+| | |-- Kokkos_ThreadsTeam.hpp
+| | |-- Kokkos_Threads_Parallel.hpp
+| | |-- Kokkos_Threads_ViewCopyETIAvail.hpp
+| | |-- Kokkos_Threads_ViewCopyETIDecl.hpp
+| | `-- Kokkos_Threads_WorkGraphPolicy.hpp
+| |-- eti
+| | |-- Cuda
+| | |-- HPX
+| | |-- OpenMP
+| | |-- ROCm
+| | |-- Serial
+| | |-- Threads
+| | `-- common
+| | |-- Kokkos_ViewFillCopyETIAvail_Macros.hpp
+| | `-- Kokkos_ViewFillCopyETIDecl_Macros.hpp
| `-- impl
| |-- KokkosExp_Host_IterateTile.hpp
| |-- KokkosExp_ViewMapping.hpp
@@ -170,8 +219,16 @@
| `-- Kokkos_Volatile_Load.hpp
|-- kokkos_generated_settings.cmake
`-- lib
+ |-- CMake
+ | `-- Kokkos
+ | |-- KokkosConfig.cmake
+ | |-- KokkosTargets-noconfig.cmake
+ | `-- KokkosTargets.cmake
+ |-- cmake
+ | `-- Kokkos
+ | `-- kokkos_generated_settings.cmake
|-- libkokkos.a
`-- pkgconfig
`-- kokkos.pc
-7 directories, 167 files
+24 directories, 207 files
diff --git a/install_tree_cmake b/install_tree_tribits
index 3e0f5790..17a49c44 100644
--- a/install_tree_cmake
+++ b/install_tree_tribits
@@ -1,4 +1,6 @@
<prefix>
+|-- bin
+| `-- nvcc_wrapper
|-- include
| |-- Cuda
| | |-- KokkosExp_Cuda_IterateTile.hpp
@@ -20,6 +22,7 @@
| | |-- Kokkos_Cuda_ViewCopyETIDecl.hpp
| | |-- Kokkos_Cuda_WorkGraphPolicy.hpp
| | `-- Kokkos_Cuda_abort.hpp
+| |-- KokkosAlgorithms_config.h
| |-- KokkosCore_config.h
| |-- KokkosExp_MDRangePolicy.hpp
| |-- Kokkos_AnonymousSpace.hpp
@@ -76,6 +79,11 @@
| |-- Kokkos_View.hpp
| |-- Kokkos_WorkGraphPolicy.hpp
| |-- Kokkos_hwloc.hpp
+| |-- Makefile.export.Kokkos
+| |-- Makefile.export.KokkosAlgorithms
+| |-- Makefile.export.KokkosContainers
+| |-- Makefile.export.KokkosCore
+| |-- Makefile.export.Trilinos
| |-- OpenMP
| | |-- Kokkos_OpenMP_Exec.hpp
| | |-- Kokkos_OpenMP_Parallel.hpp
@@ -121,6 +129,9 @@
| | |-- Kokkos_Threads_ViewCopyETIAvail.hpp
| | |-- Kokkos_Threads_ViewCopyETIDecl.hpp
| | `-- Kokkos_Threads_WorkGraphPolicy.hpp
+| |-- TrilinosConfig.cmake
+| |-- Trilinos_version.h
+| |-- Trilinos_version_date.h
| |-- eti
| | |-- Cuda
| | |-- OpenMP
@@ -156,6 +167,7 @@
| |-- Kokkos_FunctorAdapter.hpp
| |-- Kokkos_FunctorAnalysis.hpp
| |-- Kokkos_HostBarrier.hpp
+| |-- Kokkos_HostSpace_deepcopy.hpp
| |-- Kokkos_HostThreadTeam.hpp
| |-- Kokkos_Memory_Fence.hpp
| |-- Kokkos_OldMacros.hpp
@@ -184,18 +196,764 @@
| |-- Kokkos_ViewTile.hpp
| |-- Kokkos_ViewUniformType.hpp
| `-- Kokkos_Volatile_Load.hpp
-|-- kokkos_generated_settings.cmake
`-- lib
- |-- CMake
- | `-- Kokkos
- | |-- KokkosConfig.cmake
- | |-- KokkosTargets-release.cmake
- | `-- KokkosTargets.cmake
|-- cmake
- | `-- Kokkos
- | `-- kokkos_generated_settings.cmake
- |-- libkokkos.a
+ | |-- Kokkos
+ | | |-- KokkosConfig.cmake
+ | | `-- kokkos_generated_settings.cmake
+ | |-- KokkosAlgorithms
+ | | |-- KokkosAlgorithmsConfig.cmake
+ | | |-- KokkosAlgorithmsTargets-release.cmake
+ | | `-- KokkosAlgorithmsTargets.cmake
+ | |-- KokkosContainers
+ | | |-- KokkosContainersConfig.cmake
+ | | |-- KokkosContainersTargets-release.cmake
+ | | `-- KokkosContainersTargets.cmake
+ | |-- KokkosCore
+ | | |-- KokkosCoreConfig.cmake
+ | | |-- KokkosCoreTargets-release.cmake
+ | | `-- KokkosCoreTargets.cmake
+ | |-- Trilinos
+ | | |-- TrilinosConfig.cmake
+ | | `-- TrilinosConfigVersion.cmake
+ | `-- tribits
+ | <snip>
+ |-- libkokkosalgorithms.a
+ |-- libkokkoscontainers.a
+ |-- libkokkoscore.a
`-- pkgconfig
`-- kokkos.pc
-22 directories, 176 files
+241 directories, 715 files
nvcc_wrapper
kokkos_generated_settings.cmake
<prefix>
<prefix>
and <prefix>/lib/Kokkos/CMake
(duplicated)<prefix>/lib/cmake/Kokkos
<prefix>/lib/CMake/Kokkos/KokkosConfig.cmake
will not be discovered by CMake when <prefix>
is added to CMAKE_PREFIX_PATH
On UNIX platforms, CMake will constructs the following set of possible installation prefixes for the package
<prefix>/(lib/<arch>|lib*|share)/cmake/<name>*/
<prefix>/(lib/<arch>|lib*|share)/<name>*/
<prefix>/(lib/<arch>|lib*|share)/<name>*/(cmake|CMake)/
<prefix>/<name>*/(lib/<arch>|lib*|share)/cmake/<name>*/
<prefix>/<name>*/(lib/<arch>|lib*|share)/<name>*/
<prefix>/<name>*/(lib/<arch>|lib*|share)/<name>*/(cmake|CMake)/
<prefix>/lib/Kokkos/CMake/
will be searched, <prefix>/lib/CMake/Kokkos
will not!!
Use the (undocumented) CMAKE_FIND_DEBUG_MODE
to get a more verbose output
Checking prefix [<prefix>]
Checking file [<prefix>/KokkosConfig.cmake]
Checking file [<prefix>/kokkos-config.cmake]
Checking file [<prefix>/kokkos_generated_settings.cmake/KokkosConfig.cmake]
Checking file [<prefix>/kokkos_generated_settings.cmake/kokkos-config.cmake]
Checking file [<prefix>/lib/cmake/Kokkos/KokkosConfig.cmake]
Checking file [<prefix>/lib/cmake/Kokkos/kokkos-config.cmake]
Checking prefix [/usr/local/nvidia/]
Checking prefix [/usr/local/cuda/]
Checking file [/usr/local/cuda/KokkosConfig.cmake]
Checking file [/usr/local/cuda/kokkos-config.cmake]
Checking prefix [/usr/local/]
Checking file [/usr/local/KokkosConfig.cmake]
Checking file [/usr/local/kokkos-config.cmake]
Checking prefix [/usr/]
Checking file [/usr/KokkosConfig.cmake]
Checking file [/usr/kokkos-config.cmake]
Checking prefix [/]
Checking file [/KokkosConfig.cmake]
Checking file [/kokkos-config.cmake]
Checking prefix [/usr/X11R6/]
Checking prefix [/usr/pkg/]
Checking prefix [/opt/]
Checking file [/opt/KokkosConfig.cmake]
Checking file [/opt/kokkos-config.cmake]
Checking file [/opt/kokkos/KokkosConfig.cmake]
Checking file [/opt/kokkos/kokkos-config.cmake]
Checking file [/opt/kokkos/lib/cmake/Kokkos/KokkosConfig.cmake]
Checking file [/opt/kokkos/lib/cmake/Kokkos/kokkos-config.cmake]
CMake Error at CMakeLists.txt:3 (find_package):
By not providing "FindKokkos.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Kokkos", but
CMake did not find one.
Could not find a package configuration file provided by "Kokkos" with any
of the following names:
KokkosConfig.cmake
kokkos-config.cmake
Add the installation prefix of "Kokkos" to CMAKE_PREFIX_PATH or set
"Kokkos_DIR" to a directory containing one of the above files. If "Kokkos"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/scratch/build/CMakeFiles/CMakeOutput.log".
See also "/scratch/build/CMakeFiles/CMakeError.log".
kokkos_generated_settings.cmake
?¶Kokkos_generated_settings.cmake
sets a number of variables (44)
KOKKOS_PATH
KOKKOS_GMAKE_DEVICES
KOKKOS_GMAKE_ARCH
KOKKOS_DEBUG_CMAKE
KOKKOS_GMAKE_USE_TPLS
KOKKOS_CXX_STANDARD
KOKKOS_GMAKE_OPTIONS
KOKKOS_GMAKE_CUDA_OPTIONS
KOKKOS_GMAKE_TPL_INCLUDE_DIRS
KOKKOS_GMAKE_TPL_LIBRARY_DIRS
KOKKOS_GMAKE_TPL_LIBRARY_NAMES
KOKKOS_HEADERS
KOKKOS_HEADERS_IMPL
KOKKOS_HEADERS_CUDA
KOKKOS_HEADERS_OPENMP
KOKKOS_HEADERS_HPX
KOKKOS_HEADERS_ROCM
KOKKOS_HEADERS_THREADS
KOKKOS_HEADERS_QTHREADS
KOKKOS_OS
KOKKOS_CPP_DEPENDS
KOKKOS_LINK_DEPENDS
KOKKOS_CXXFLAGS
KOKKOS_CPPFLAGS
KOKKOS_LDFLAGS
KOKKOS_CXXLDFLAGS
KOKKOS_LIBS
KOKKOS_EXTRA_LIBS
KOKKOS_LINK_FLAGS
KOKKOS_INTERNAL_USE_CUDA
KOKKOS_INTERNAL_USE_OPENMP
KOKKOS_INTERNAL_USE_HPX
KOKKOS_INTERNAL_USE_PTHREADS
KOKKOS_INTERNAL_USE_SERIAL
KOKKOS_INTERNAL_USE_ROCM
KOKKOS_INTERNAL_USE_HPX
KOKKOS_INTERNAL_USE_QTHREADS
KOKKOS_SRC
KOKKOS_CXX_FLAGS
KOKKOS_CPP_FLAGS
KOKKOS_LD_FLAGS
KOKKOS_LIBS_LIST
KOKKOS_EXTRA_LIBS_LIST
KOKKOS_LINK_FLAGS
KOKKOS_GMAKE_DEVICES
KOKKOS_GMAKE_ARCH
KOKKOS_GMAKE_OPTIONS
KOKKOS_GMAKE_CUDA_OPTIONS
KOKKOS_GMAKE_TPL_INCLUDE_DIRS
KOKKOS_GMAKE_TPL_LIBRARY_DIRS
KOKKOS_GMAKE_TPL_LIBRARY_NAMES
KOKKOS_GMAKE_USE_TPLS
KOKKOS_DEBUG_CMAKE
KOKKOS_OS
KOKKOS_PATH
KOKKOS_HEADERS
KOKKOS_HEADERS_IMPL
KOKKOS_HEADERS_CUDA
KOKKOS_HEADERS_OPENMP
KOKKOS_HEADERS_HPX
KOKKOS_HEADERS_ROCM
KOKKOS_HEADERS_THREADS
KOKKOS_HEADERS_QTHREADS
KOKKOS_SRC
KOKKOS_CPP_DEPENDS
KOKKOS_LINK_DEPENDS
KOKKOS_INTERNAL_USE_CUDA
KOKKOS_INTERNAL_USE_OPENMP
KOKKOS_INTERNAL_USE_HPX
KOKKOS_INTERNAL_USE_PTHREADS
KOKKOS_INTERNAL_USE_SERIAL
KOKKOS_INTERNAL_USE_ROCM
KOKKOS_INTERNAL_USE_HPX
KOKKOS_INTERNAL_USE_QTHREADS
KOKKOS_CXXFLAGS
KOKKOS_CPPFLAGS
KOKKOS_LDFLAGS
KOKKOS_CXXLDFLAGS
KOKKOS_LIBS
KOKKOS_EXTRA_LIBS
KOKKOS_LINK_FLAGS
KOKKOS_CXX_FLAGS
KOKKOS_CPP_FLAGS
KOKKOS_LD_FLAGS
KOKKOS_LIBS_LIST
KOKKOS_EXTRA_LIBS_LIST
KOKKOS_LINK_FLAGS
KOKKOS_CXX_STANDARD
diff --git a/generated_settings_gmake b/generated_settings_cmake
index 8ed290c9..d64a5337 100644
--- a/generated_settings_gmake
+++ b/generated_settings_cmake
@@ -1,15 +1,15 @@
#Global Settings used to generate this library
-set(KOKKOS_PATH CACHE FILEPATH "Kokkos installation path" FORCE)
-set(KOKKOS_GMAKE_DEVICES "Serial,OpenMP,Cuda" CACHE STRING "Kokkos devices list" FORCE)
+set(KOKKOS_PATH /opt/kokkos CACHE FILEPATH "Kokkos installation path" FORCE)
+set(KOKKOS_GMAKE_DEVICES "Cuda,OpenMP,Serial" CACHE STRING "Kokkos devices list" FORCE)
set(KOKKOS_GMAKE_ARCH "Volta70,SNB" CACHE STRING "Kokkos architecture flags" FORCE)
-set(KOKKOS_DEBUG_CMAKE OFF CACHE BOOL "Kokkos debug enabled ?" FORCE)
-set(KOKKOS_GMAKE_USE_TPLS "" CACHE STRING "Kokkos templates list" FORCE)
+set(KOKKOS_DEBUG_CMAKE ON CACHE BOOL "Kokkos debug enabled ?" FORCE)
+set(KOKKOS_GMAKE_USE_TPLS "librt" CACHE STRING "Kokkos templates list" FORCE)
set(KOKKOS_CXX_STANDARD c++11 CACHE STRING "Kokkos C++ standard" FORCE)
-set(KOKKOS_GMAKE_OPTIONS "" CACHE STRING "Kokkos options" FORCE)
+set(KOKKOS_GMAKE_OPTIONS "disable_dualview_modify_check" CACHE STRING "Kokkos options" FORCE)
set(KOKKOS_GMAKE_CUDA_OPTIONS "enable_lambda" CACHE STRING "Kokkos Cuda options" FORCE)
set(KOKKOS_GMAKE_TPL_INCLUDE_DIRS " /usr/local/cuda/include" CACHE STRING "Kokkos TPL include directories" FORCE)
set(KOKKOS_GMAKE_TPL_LIBRARY_DIRS " /usr/local/cuda/lib64" CACHE STRING "Kokkos TPL library directories" FORCE)
-set(KOKKOS_GMAKE_TPL_LIBRARY_NAMES " dl cudart cuda" CACHE STRING "Kokkos TPL library names" FORCE)
+set(KOKKOS_GMAKE_TPL_LIBRARY_NAMES " dl rt cudart cuda" CACHE STRING "Kokkos TPL library names" FORCE)
if(NOT DEFINED ENV{NVCC_WRAPPER})
set(NVCC_WRAPPER /scratch/kokkos/bin/nvcc_wrapper CACHE FILEPATH "Path to command nvcc_wrapper" FORCE)
else()
@@ -17,10 +17,10 @@ else()
endif()
#Source and Header files of Kokkos relative to KOKKOS_PATH
-set(KOKKOS_HEADERS /opt/kokkos/include/Kokkos_UniqueToken.hpp /opt/kokkos/include/Kokkos_NumericTraits.hpp /opt/kokkos/include/Kokkos_Timer.hpp /opt/kokkos/include/Kokkos_Pair.hpp /opt/kokkos/include/Kokkos_ExecPolicy.hpp /opt/kokkos/include/Kokkos_Macros.hpp /opt/kokkos/include/Kokkos_ScratchSpace.hpp /opt/kokkos/include/Kokkos_HBWSpace.hpp /opt/kokkos/include/Kokkos_ROCmSpace.hpp /opt/kokkos/include/Kokkos_ROCm.hpp /opt/kokkos/include/KokkosExp_MDRangePolicy.hpp /opt/kokkos/include/Kokkos_Atomic.hpp /opt/kokkos/include/Kokkos_MemoryPool.hpp /opt/kokkos/include/Kokkos_Threads.hpp /opt/kokkos/include/Kokkos_Layout.hpp /opt/kokkos/include/Kokkos_Serial.hpp /opt/kokkos/include/Kokkos_Qthreads.hpp /opt/kokkos/include/Kokkos_Crs.hpp /opt/kokkos/include/Kokkos_Parallel_Reduce.hpp /opt/kokkos/include/Kokkos_Parallel.hpp /opt/kokkos/include/Kokkos_Cuda.hpp /opt/kokkos/include/Kokkos_View.hpp /opt/kokkos/include/Kokkos_TaskPolicy.hpp /opt/kokkos/include/Kokkos_CudaSpace.hpp /opt/kokkos/include/Kokkos_Core.hpp /opt/kokkos/include/Kokkos_WorkGraphPolicy.hpp /opt/kokkos/include/Kokkos_Vectorization.hpp /opt/kokkos/include/Kokkos_OpenMP.hpp /opt/kokkos/include/Kokkos_hwloc.hpp /opt/kokkos/include/Kokkos_Array.hpp /opt/kokkos/include/Kokkos_MasterLock.hpp /opt/kokkos/include/Kokkos_OpenMPTargetSpace.hpp /opt/kokkos/include/Kokkos_Profiling_ProfileSection.hpp /opt/kokkos/include/Kokkos_CopyViews.hpp /opt/kokkos/include/Kokkos_OpenMPTarget.hpp /opt/kokkos/include/Kokkos_Core_fwd.hpp /opt/kokkos/include/Kokkos_Complex.hpp /opt/kokkos/include/Kokkos_HostSpace.hpp /opt/kokkos/include/Kokkos_Concepts.hpp /opt/kokkos/include/Kokkos_TaskScheduler.hpp /opt/kokkos/include/Kokkos_AnonymousSpace.hpp /opt/kokkos/include/Kokkos_MemoryTraits.hpp /opt/kokkos/include/impl/Kokkos_Timer.hpp /opt/kokkos/include/impl/Kokkos_Error.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIDecl.hpp /opt/kokkos/include/impl/Kokkos_Traits.hpp /opt/kokkos/include/impl/Kokkos_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_Spinwait.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Compare_Exchange_Strong.hpp /opt/kokkos/include/impl/Kokkos_AnalyzePolicy.hpp /opt/kokkos/include/impl/Kokkos_FunctorAdapter.hpp /opt/kokkos/include/impl/Kokkos_Volatile_Load.hpp /opt/kokkos/include/impl/Kokkos_FunctorAnalysis.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Add.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIAvail.hpp /opt/kokkos/include/impl/Kokkos_Profiling_Interface.hpp /opt/kokkos/include/impl/Kokkos_ViewArray.hpp /opt/kokkos/include/impl/Kokkos_HostBarrier.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Windows.hpp /opt/kokkos/include/impl/Kokkos_CPUDiscovery.hpp /opt/kokkos/include/impl/KokkosExp_Host_IterateTile.hpp /opt/kokkos/include/impl/Kokkos_Profiling_DeviceInfo.hpp /opt/kokkos/include/impl/Kokkos_SharedAlloc.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Generic.hpp /opt/kokkos/include/impl/Kokkos_HostThreadTeam.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Assembly.hpp /opt/kokkos/include/impl/Kokkos_ClockTic.hpp /opt/kokkos/include/impl/Kokkos_ViewTile.hpp /opt/kokkos/include/impl/Kokkos_Tags.hpp /opt/kokkos/include/impl/Kokkos_ConcurrentBitset.hpp /opt/kokkos/include/impl/Kokkos_Utilities.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Increment.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Decrement.hpp /opt/kokkos/include/impl/Kokkos_StaticAssert.hpp /opt/kokkos/include/impl/Kokkos_BitOps.hpp /opt/kokkos/include/impl/Kokkos_Memory_Fence.hpp /opt/kokkos/include/impl/KokkosExp_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_ViewUniformType.hpp /opt/kokkos/include/impl/Kokkos_OldMacros.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Or.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_And.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue_impl.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Sub.hpp /opt/kokkos/include/impl/Kokkos_Serial_WorkGraphPolicy.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Exchange.hpp /opt/kokkos/include/impl/Kokkos_ViewLayoutTiled.hpp /opt/kokkos/include/impl/Kokkos_PhysicalLayout.hpp /opt/kokkos/include/impl/Kokkos_ViewCtor.hpp /opt/kokkos/include/impl/Kokkos_Atomic_View.hpp /opt/kokkos/include/impl/Kokkos_Serial_Task.hpp /opt/kokkos/include/Kokkos_Functional.hpp /opt/kokkos/include/Kokkos_StaticCrsGraph.hpp /opt/kokkos/include/Kokkos_ErrorReporter.hpp /opt/kokkos/include/Kokkos_OffsetView.hpp /opt/kokkos/include/Kokkos_DualView.hpp /opt/kokkos/include/Kokkos_Vector.hpp /opt/kokkos/include/Kokkos_ScatterView.hpp /opt/kokkos/include/Kokkos_Bitset.hpp /opt/kokkos/include/Kokkos_UnorderedMap.hpp /opt/kokkos/include/Kokkos_DynamicView.hpp /opt/kokkos/include/Kokkos_DynRankView.hpp /opt/kokkos/include/impl/Kokkos_StaticCrsGraph_factory.hpp /opt/kokkos/include/impl/Kokkos_Functional_impl.hpp /opt/kokkos/include/impl/Kokkos_Bitset_impl.hpp /opt/kokkos/include/impl/Kokkos_UnorderedMap_impl.hpp /opt/kokkos/include/Kokkos_Random.hpp /opt/kokkos/include/Kokkos_Sort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Task.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_View.hpp /opt/kokkos/include/Cuda/Kokkos_CudaExec.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Team.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_UniqueToken.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_abort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Parallel.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Locks.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Error.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Vectorization.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Alloc.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ReduceScan.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Internal.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Task.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Team.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Parallel.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Exec.hpp CACHE STRING "Kokkos headers list" FORCE)
+set(KOKKOS_HEADERS /opt/kokkos/include/Kokkos_Serial.hpp /opt/kokkos/include/Kokkos_ExecPolicy.hpp /opt/kokkos/include/Kokkos_OpenMPTargetSpace.hpp /opt/kokkos/include/Kokkos_OpenMPTarget.hpp /opt/kokkos/include/Kokkos_Macros.hpp /opt/kokkos/include/Kokkos_Qthreads.hpp /opt/kokkos/include/Kokkos_Core_fwd.hpp /opt/kokkos/include/Kokkos_Pair.hpp /opt/kokkos/include/Kokkos_UniqueToken.hpp /opt/kokkos/include/Kokkos_Profiling_ProfileSection.hpp /opt/kokkos/include/Kokkos_OpenMP.hpp /opt/kokkos/include/Kokkos_Vectorization.hpp /opt/kokkos/include/Kokkos_Atomic.hpp /opt/kokkos/include/Kokkos_Crs.hpp /opt/kokkos/include/Kokkos_CudaSpace.hpp /opt/kokkos/include/Kokkos_ScratchSpace.hpp /opt/kokkos/include/Kokkos_CopyViews.hpp /opt/kokkos/include/Kokkos_Parallel_Reduce.hpp /opt/kokkos/include/Kokkos_hwloc.hpp /opt/kokkos/include/Kokkos_ROCmSpace.hpp /opt/kokkos/include/Kokkos_Core.hpp /opt/kokkos/include/Kokkos_HBWSpace.hpp /opt/kokkos/include/Kokkos_TaskScheduler.hpp /opt/kokkos/include/Kokkos_Cuda.hpp /opt/kokkos/include/Kokkos_AnonymousSpace.hpp /opt/kokkos/include/KokkosExp_MDRangePolicy.hpp /opt/kokkos/include/Kokkos_Parallel.hpp /opt/kokkos/include/Kokkos_Complex.hpp /opt/kokkos/include/Kokkos_HostSpace.hpp /opt/kokkos/include/Kokkos_View.hpp /opt/kokkos/include/Kokkos_MasterLock.hpp /opt/kokkos/include/Kokkos_Concepts.hpp /opt/kokkos/include/Kokkos_MemoryPool.hpp /opt/kokkos/include/Kokkos_TaskPolicy.hpp /opt/kokkos/include/Kokkos_NumericTraits.hpp /opt/kokkos/include/Kokkos_Timer.hpp /opt/kokkos/include/Kokkos_WorkGraphPolicy.hpp /opt/kokkos/include/Kokkos_Array.hpp /opt/kokkos/include/Kokkos_Threads.hpp /opt/kokkos/include/Kokkos_Layout.hpp /opt/kokkos/include/Kokkos_ROCm.hpp /opt/kokkos/include/Kokkos_MemoryTraits.hpp /opt/kokkos/include/impl/Kokkos_ClockTic.hpp /opt/kokkos/include/impl/Kokkos_ViewLayoutTiled.hpp /opt/kokkos/include/impl/Kokkos_Profiling_DeviceInfo.hpp /opt/kokkos/include/impl/Kokkos_ViewTile.hpp /opt/kokkos/include/impl/Kokkos_ConcurrentBitset.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Sub.hpp /opt/kokkos/include/impl/Kokkos_Serial_Task.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Windows.hpp /opt/kokkos/include/impl/Kokkos_HostThreadTeam.hpp /opt/kokkos/include/impl/Kokkos_FunctorAnalysis.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_And.hpp /opt/kokkos/include/impl/KokkosExp_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIAvail.hpp /opt/kokkos/include/impl/Kokkos_SharedAlloc.hpp /opt/kokkos/include/impl/Kokkos_Volatile_Load.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Add.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Generic.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Compare_Exchange_Strong.hpp /opt/kokkos/include/impl/Kokkos_FunctorAdapter.hpp /opt/kokkos/include/impl/Kokkos_Serial_WorkGraphPolicy.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Assembly.hpp /opt/kokkos/include/impl/Kokkos_ViewUniformType.hpp /opt/kokkos/include/impl/Kokkos_ViewCtor.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue.hpp /opt/kokkos/include/impl/Kokkos_CPUDiscovery.hpp /opt/kokkos/include/impl/Kokkos_ViewArray.hpp /opt/kokkos/include/impl/Kokkos_PhysicalLayout.hpp /opt/kokkos/include/impl/Kokkos_HostBarrier.hpp /opt/kokkos/include/impl/Kokkos_Memory_Fence.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue_impl.hpp /opt/kokkos/include/impl/Kokkos_Error.hpp /opt/kokkos/include/impl/Kokkos_Atomic_View.hpp /opt/kokkos/include/impl/Kokkos_Profiling_Interface.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Exchange.hpp /opt/kokkos/include/impl/KokkosExp_Host_IterateTile.hpp /opt/kokkos/include/impl/Kokkos_OldMacros.hpp /opt/kokkos/include/impl/Kokkos_StaticAssert.hpp /opt/kokkos/include/impl/Kokkos_BitOps.hpp /opt/kokkos/include/impl/Kokkos_Traits.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Increment.hpp /opt/kokkos/include/impl/Kokkos_Tags.hpp /opt/kokkos/include/impl/Kokkos_Timer.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Decrement.hpp /opt/kokkos/include/impl/Kokkos_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_Spinwait.hpp /opt/kokkos/include/impl/Kokkos_Utilities.hpp /opt/kokkos/include/impl/Kokkos_AnalyzePolicy.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Or.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIDecl.hpp /opt/kokkos/include/Kokkos_DynRankView.hpp /opt/kokkos/include/Kokkos_Vector.hpp /opt/kokkos/include/Kokkos_StaticCrsGraph.hpp /opt/kokkos/include/Kokkos_Functional.hpp /opt/kokkos/include/Kokkos_DualView.hpp /opt/kokkos/include/Kokkos_DynamicView.hpp /opt/kokkos/include/Kokkos_Bitset.hpp /opt/kokkos/include/Kokkos_UnorderedMap.hpp /opt/kokkos/include/Kokkos_ScatterView.hpp /opt/kokkos/include/Kokkos_ErrorReporter.hpp /opt/kokkos/include/Kokkos_OffsetView.hpp /opt/kokkos/include/impl/Kokkos_StaticCrsGraph_factory.hpp /opt/kokkos/include/impl/Kokkos_Functional_impl.hpp /opt/kokkos/include/impl/Kokkos_Bitset_impl.hpp /opt/kokkos/include/impl/Kokkos_UnorderedMap_impl.hpp /opt/kokkos/include/Kokkos_Random.hpp /opt/kokkos/include/Kokkos_Sort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /opt/kokkos/include/Cuda/Kokkos_CudaExec.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Team.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Alloc.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_UniqueToken.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Task.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_abort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ReduceScan.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Vectorization.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Locks.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Error.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Parallel.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_View.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Internal.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Task.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Exec.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Parallel.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Team.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp CACHE STRING "Kokkos headers list" FORCE)
set(KOKKOS_HEADERS_IMPL CACHE STRING "Kokkos headers impl list" FORCE)
-set(KOKKOS_HEADERS_CUDA /opt/kokkos/include/Cuda/Kokkos_Cuda_Task.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_View.hpp /opt/kokkos/include/Cuda/Kokkos_CudaExec.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Team.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_UniqueToken.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_abort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Parallel.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Locks.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Error.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Vectorization.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Alloc.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ReduceScan.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Internal.hpp CACHE STRING "Kokkos headers Cuda list" FORCE)
-set(KOKKOS_HEADERS_OPENMP /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Task.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Team.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Parallel.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Exec.hpp CACHE STRING "Kokkos headers OpenMP list" FORCE)
+set(KOKKOS_HEADERS_CUDA /opt/kokkos/include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /opt/kokkos/include/Cuda/Kokkos_CudaExec.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Team.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Alloc.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_UniqueToken.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Task.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_abort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ReduceScan.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Vectorization.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Locks.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Error.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Parallel.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_View.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Internal.hpp CACHE STRING "Kokkos headers Cuda list" FORCE)
+set(KOKKOS_HEADERS_OPENMP /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Task.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Exec.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Parallel.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Team.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp CACHE STRING "Kokkos headers OpenMP list" FORCE)
set(KOKKOS_HEADERS_ROCM CACHE STRING "Kokkos headers ROCm list" FORCE)
set(KOKKOS_HEADERS_THREADS CACHE STRING "Kokkos headers Threads list" FORCE)
set(KOKKOS_HEADERS_QTHREADS CACHE STRING "Kokkos headers QThreads list" FORCE)
@@ -29,12 +29,12 @@ set(KOKKOS_HEADERS_QTHREADS CACHE STRING "Kokkos headers QThreads list" FORCE)
set(KOKKOS_OS Linux CACHE STRING "" FORCE)
set(KOKKOS_CPP_DEPENDS KokkosCore_config.h /opt/kokkos/include/Kokkos_Serial.hpp /opt/kokkos/include/Kokkos_ExecPolicy.hpp /opt/kokkos/include/Kokkos_OpenMPTargetSpace.hpp /opt/kokkos/include/Kokkos_OpenMPTarget.hpp /opt/kokkos/include/Kokkos_Macros.hpp /opt/kokkos/include/Kokkos_Qthreads.hpp /opt/kokkos/include/Kokkos_Core_fwd.hpp /opt/kokkos/include/Kokkos_Pair.hpp /opt/kokkos/include/Kokkos_UniqueToken.hpp /opt/kokkos/include/Kokkos_Profiling_ProfileSection.hpp /opt/kokkos/include/Kokkos_OpenMP.hpp /opt/kokkos/include/Kokkos_Vectorization.hpp /opt/kokkos/include/Kokkos_Atomic.hpp /opt/kokkos/include/Kokkos_Crs.hpp /opt/kokkos/include/Kokkos_CudaSpace.hpp /opt/kokkos/include/Kokkos_ScratchSpace.hpp /opt/kokkos/include/Kokkos_CopyViews.hpp /opt/kokkos/include/Kokkos_Parallel_Reduce.hpp /opt/kokkos/include/Kokkos_hwloc.hpp /opt/kokkos/include/Kokkos_ROCmSpace.hpp /opt/kokkos/include/Kokkos_Core.hpp /opt/kokkos/include/Kokkos_HBWSpace.hpp /opt/kokkos/include/Kokkos_TaskScheduler.hpp /opt/kokkos/include/Kokkos_Cuda.hpp /opt/kokkos/include/Kokkos_AnonymousSpace.hpp /opt/kokkos/include/KokkosExp_MDRangePolicy.hpp /opt/kokkos/include/Kokkos_Parallel.hpp /opt/kokkos/include/Kokkos_Complex.hpp /opt/kokkos/include/Kokkos_HostSpace.hpp /opt/kokkos/include/Kokkos_View.hpp /opt/kokkos/include/Kokkos_MasterLock.hpp /opt/kokkos/include/Kokkos_Concepts.hpp /opt/kokkos/include/Kokkos_MemoryPool.hpp /opt/kokkos/include/Kokkos_TaskPolicy.hpp /opt/kokkos/include/Kokkos_NumericTraits.hpp /opt/kokkos/include/Kokkos_Timer.hpp /opt/kokkos/include/Kokkos_WorkGraphPolicy.hpp /opt/kokkos/include/Kokkos_Array.hpp /opt/kokkos/include/Kokkos_Threads.hpp /opt/kokkos/include/Kokkos_Layout.hpp /opt/kokkos/include/Kokkos_ROCm.hpp /opt/kokkos/include/Kokkos_MemoryTraits.hpp /opt/kokkos/include/impl/Kokkos_ClockTic.hpp /opt/kokkos/include/impl/Kokkos_ViewLayoutTiled.hpp /opt/kokkos/include/impl/Kokkos_Profiling_DeviceInfo.hpp /opt/kokkos/include/impl/Kokkos_ViewTile.hpp /opt/kokkos/include/impl/Kokkos_ConcurrentBitset.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Sub.hpp /opt/kokkos/include/impl/Kokkos_Serial_Task.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Windows.hpp /opt/kokkos/include/impl/Kokkos_HostThreadTeam.hpp /opt/kokkos/include/impl/Kokkos_FunctorAnalysis.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_And.hpp /opt/kokkos/include/impl/KokkosExp_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIAvail.hpp /opt/kokkos/include/impl/Kokkos_SharedAlloc.hpp /opt/kokkos/include/impl/Kokkos_Volatile_Load.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Add.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Generic.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Compare_Exchange_Strong.hpp /opt/kokkos/include/impl/Kokkos_FunctorAdapter.hpp /opt/kokkos/include/impl/Kokkos_Serial_WorkGraphPolicy.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Assembly.hpp /opt/kokkos/include/impl/Kokkos_ViewUniformType.hpp /opt/kokkos/include/impl/Kokkos_ViewCtor.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue.hpp /opt/kokkos/include/impl/Kokkos_CPUDiscovery.hpp /opt/kokkos/include/impl/Kokkos_ViewArray.hpp /opt/kokkos/include/impl/Kokkos_PhysicalLayout.hpp /opt/kokkos/include/impl/Kokkos_HostBarrier.hpp /opt/kokkos/include/impl/Kokkos_Memory_Fence.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue_impl.hpp /opt/kokkos/include/impl/Kokkos_Error.hpp /opt/kokkos/include/impl/Kokkos_Atomic_View.hpp /opt/kokkos/include/impl/Kokkos_Profiling_Interface.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Exchange.hpp /opt/kokkos/include/impl/KokkosExp_Host_IterateTile.hpp /opt/kokkos/include/impl/Kokkos_OldMacros.hpp /opt/kokkos/include/impl/Kokkos_StaticAssert.hpp /opt/kokkos/include/impl/Kokkos_BitOps.hpp /opt/kokkos/include/impl/Kokkos_Traits.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Increment.hpp /opt/kokkos/include/impl/Kokkos_Tags.hpp /opt/kokkos/include/impl/Kokkos_Timer.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Decrement.hpp /opt/kokkos/include/impl/Kokkos_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_Spinwait.hpp /opt/kokkos/include/impl/Kokkos_Utilities.hpp /opt/kokkos/include/impl/Kokkos_AnalyzePolicy.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Or.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIDecl.hpp /opt/kokkos/include/Kokkos_DynRankView.hpp /opt/kokkos/include/Kokkos_Vector.hpp /opt/kokkos/include/Kokkos_StaticCrsGraph.hpp /opt/kokkos/include/Kokkos_Functional.hpp /opt/kokkos/include/Kokkos_DualView.hpp /opt/kokkos/include/Kokkos_DynamicView.hpp /opt/kokkos/include/Kokkos_Bitset.hpp /opt/kokkos/include/Kokkos_UnorderedMap.hpp /opt/kokkos/include/Kokkos_ScatterView.hpp /opt/kokkos/include/Kokkos_ErrorReporter.hpp /opt/kokkos/include/Kokkos_OffsetView.hpp /opt/kokkos/include/impl/Kokkos_StaticCrsGraph_factory.hpp /opt/kokkos/include/impl/Kokkos_Functional_impl.hpp /opt/kokkos/include/impl/Kokkos_Bitset_impl.hpp /opt/kokkos/include/impl/Kokkos_UnorderedMap_impl.hpp /opt/kokkos/include/Kokkos_Random.hpp /opt/kokkos/include/Kokkos_Sort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /opt/kokkos/include/Cuda/Kokkos_CudaExec.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Team.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Alloc.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_UniqueToken.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Task.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_abort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ReduceScan.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Vectorization.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Locks.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Error.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Parallel.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_View.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Internal.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Task.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Exec.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Parallel.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Team.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp CACHE STRING "" FORCE)
set(KOKKOS_LINK_DEPENDS libkokkos.a CACHE STRING "" FORCE)
-set(KOKKOS_CXXFLAGS -I./ -I/opt/kokkos/include -I/opt/kokkos/include -I/opt/kokkos/include -I/opt/kokkos/include/eti --std=c++11 -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored -expt-extended-lambda -mavx -arch=sm_70 -I/usr/local/cuda/include -Xcompiler -fopenmp CACHE STRING "" FORCE)
+set(KOKKOS_CXXFLAGS --std=c++11 -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored -expt-extended-lambda -mavx -arch=sm_70 -Xcompiler -fopenmp CACHE STRING "" FORCE)
set(KOKKOS_CPPFLAGS CACHE STRING "" FORCE)
-set(KOKKOS_LDFLAGS -L/opt/kokkos/lib -mavx -arch=sm_70 -L/usr/local/cuda/lib64 -fopenmp CACHE STRING "" FORCE)
-set(KOKKOS_CXXLDFLAGS -L/opt/kokkos/lib -L/usr/local/cuda/lib64 CACHE STRING "" FORCE)
-set(KOKKOS_LIBS -lkokkos -ldl -lcudart -lcuda CACHE STRING "" FORCE)
-set(KOKKOS_EXTRA_LIBS -ldl -lcudart -lcuda CACHE STRING "" FORCE)
+set(KOKKOS_LDFLAGS -mavx -arch=sm_70 -L/usr/local/cuda/lib64 -fopenmp CACHE STRING "" FORCE)
+set(KOKKOS_CXXLDFLAGS -L/usr/local/cuda/lib64 CACHE STRING "" FORCE)
+set(KOKKOS_LIBS -lkokkos -ldl -lrt -lcudart -lcuda CACHE STRING "" FORCE)
+set(KOKKOS_EXTRA_LIBS -ldl -lrt -lcudart -lcuda CACHE STRING "" FORCE)
set(KOKKOS_LINK_FLAGS -fopenmp CACHE STRING "extra flags to the link step (e.g. OpenMP)" FORCE)
#Internal settings which need to propagated for Kokkos examples
@@ -45,9 +45,9 @@ set(KOKKOS_INTERNAL_USE_SERIAL 1 CACHE STRING "" FORCE)
set(KOKKOS_INTERNAL_USE_ROCM 0 CACHE STRING "" FORCE)
set(KOKKOS_INTERNAL_USE_QTHREADS 0 CACHE STRING "" FORCE)
set(KOKKOS_SRC /scratch/kokkos/core/src/impl/Kokkos_Serial.cpp /scratch/kokkos/core/src/impl/Kokkos_ExecPolicy.cpp /scratch/kokkos/core/src/impl/Kokkos_HostThreadTeam.cpp /scratch/kokkos/core/src/impl/Kokkos_Serial_Task.cpp /scratch/kokkos/core/src/impl/Kokkos_SharedAlloc.cpp /scratch/kokkos/core/src/impl/Kokkos_Spinwait.cpp /scratch/kokkos/core/src/impl/Kokkos_Profiling_Interface.cpp /scratch/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp /scratch/kokkos/core/src/impl/Kokkos_hwloc.cpp /scratch/kokkos/core/src/impl/Kokkos_HostBarrier.cpp /scratch/kokkos/core/src/impl/Kokkos_Error.cpp /scratch/kokkos/core/src/impl/Kokkos_Core.cpp /scratch/kokkos/core/src/impl/Kokkos_HostSpace.cpp /scratch/kokkos/core/src/impl/Kokkos_MemoryPool.cpp /scratch/kokkos/containers/src/impl/Kokkos_UnorderedMap_impl.cpp /scratch/kokkos/core/src/Cuda/Kokkos_Cuda_Locks.cpp /scratch/kokkos/core/src/Cuda/Kokkos_CudaSpace.cpp /scratch/kokkos/core/src/Cuda/Kokkos_Cuda_Task.cpp /scratch/kokkos/core/src/Cuda/Kokkos_Cuda_Impl.cpp /scratch/kokkos/core/src/OpenMP/Kokkos_OpenMP_Task.cpp /scratch/kokkos/core/src/OpenMP/Kokkos_OpenMP_Exec.cpp CACHE STRING "Kokkos source list" FORCE)
-set(KOKKOS_CXX_FLAGS -I./ -I/scratch/kokkos/core/src -I/scratch/kokkos/containers/src -I/scratch/kokkos/algorithms/src -I/scratch/kokkos/core/src/eti --std=c++11 -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored -expt-extended-lambda -mavx -arch=sm_70 -I/usr/local/cuda/include -Xcompiler -fopenmp)
+set(KOKKOS_CXX_FLAGS --std=c++11 -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored -expt-extended-lambda -mavx -arch=sm_70 -Xcompiler -fopenmp)
set(KOKKOS_CPP_FLAGS )
-set(KOKKOS_LD_FLAGS -L/scratch/kokkos/build/core -mavx -arch=sm_70 -L/usr/local/cuda/lib64 -fopenmp)
-set(KOKKOS_LIBS_LIST "-lkokkos -ldl -lcudart -lcuda")
-set(KOKKOS_EXTRA_LIBS_LIST "-ldl -lcudart -lcuda")
+set(KOKKOS_LD_FLAGS -mavx -arch=sm_70 -L/usr/local/cuda/lib64 -fopenmp)
+set(KOKKOS_LIBS_LIST "-lkokkos -ldl -lrt -lcudart -lcuda")
+set(KOKKOS_EXTRA_LIBS_LIST "-ldl -lrt -lcudart -lcuda")
set(KOKKOS_LINK_FLAGS -fopenmp)
diff --git a/generated_settings_cmake b/generated_settings_tribits
index d64a5337..1f2b3a88 100644
--- a/generated_settings_cmake
+++ b/generated_settings_tribits
@@ -1,40 +1,40 @@
#Global Settings used to generate this library
-set(KOKKOS_PATH /opt/kokkos CACHE FILEPATH "Kokkos installation path" FORCE)
+set(KOKKOS_PATH /opt/trilinos CACHE FILEPATH "Kokkos installation path" FORCE)
set(KOKKOS_GMAKE_DEVICES "Cuda,OpenMP,Serial" CACHE STRING "Kokkos devices list" FORCE)
set(KOKKOS_GMAKE_ARCH "Volta70,SNB" CACHE STRING "Kokkos architecture flags" FORCE)
set(KOKKOS_DEBUG_CMAKE ON CACHE BOOL "Kokkos debug enabled ?" FORCE)
-set(KOKKOS_GMAKE_USE_TPLS "librt" CACHE STRING "Kokkos templates list" FORCE)
+set(KOKKOS_GMAKE_USE_TPLS "" CACHE STRING "Kokkos templates list" FORCE)
set(KOKKOS_CXX_STANDARD c++11 CACHE STRING "Kokkos C++ standard" FORCE)
set(KOKKOS_GMAKE_OPTIONS "disable_dualview_modify_check" CACHE STRING "Kokkos options" FORCE)
set(KOKKOS_GMAKE_CUDA_OPTIONS "enable_lambda" CACHE STRING "Kokkos Cuda options" FORCE)
set(KOKKOS_GMAKE_TPL_INCLUDE_DIRS " /usr/local/cuda/include" CACHE STRING "Kokkos TPL include directories" FORCE)
set(KOKKOS_GMAKE_TPL_LIBRARY_DIRS " /usr/local/cuda/lib64" CACHE STRING "Kokkos TPL library directories" FORCE)
-set(KOKKOS_GMAKE_TPL_LIBRARY_NAMES " dl rt cudart cuda" CACHE STRING "Kokkos TPL library names" FORCE)
+set(KOKKOS_GMAKE_TPL_LIBRARY_NAMES " dl cudart cuda" CACHE STRING "Kokkos TPL library names" FORCE)
if(NOT DEFINED ENV{NVCC_WRAPPER})
-set(NVCC_WRAPPER /scratch/kokkos/bin/nvcc_wrapper CACHE FILEPATH "Path to command nvcc_wrapper" FORCE)
+set(NVCC_WRAPPER /scratch/trilinos/packages/kokkos/bin/nvcc_wrapper CACHE FILEPATH "Path to command nvcc_wrapper" FORCE)
else()
set(NVCC_WRAPPER $ENV{NVCC_WRAPPER} CACHE FILEPATH "Path to command nvcc_wrapper")
endif()
#Source and Header files of Kokkos relative to KOKKOS_PATH
-set(KOKKOS_HEADERS /opt/kokkos/include/Kokkos_Serial.hpp /opt/kokkos/include/Kokkos_ExecPolicy.hpp /opt/kokkos/include/Kokkos_OpenMPTargetSpace.hpp /opt/kokkos/include/Kokkos_OpenMPTarget.hpp /opt/kokkos/include/Kokkos_Macros.hpp /opt/kokkos/include/Kokkos_Qthreads.hpp /opt/kokkos/include/Kokkos_Core_fwd.hpp /opt/kokkos/include/Kokkos_Pair.hpp /opt/kokkos/include/Kokkos_UniqueToken.hpp /opt/kokkos/include/Kokkos_Profiling_ProfileSection.hpp /opt/kokkos/include/Kokkos_OpenMP.hpp /opt/kokkos/include/Kokkos_Vectorization.hpp /opt/kokkos/include/Kokkos_Atomic.hpp /opt/kokkos/include/Kokkos_Crs.hpp /opt/kokkos/include/Kokkos_CudaSpace.hpp /opt/kokkos/include/Kokkos_ScratchSpace.hpp /opt/kokkos/include/Kokkos_CopyViews.hpp /opt/kokkos/include/Kokkos_Parallel_Reduce.hpp /opt/kokkos/include/Kokkos_hwloc.hpp /opt/kokkos/include/Kokkos_ROCmSpace.hpp /opt/kokkos/include/Kokkos_Core.hpp /opt/kokkos/include/Kokkos_HBWSpace.hpp /opt/kokkos/include/Kokkos_TaskScheduler.hpp /opt/kokkos/include/Kokkos_Cuda.hpp /opt/kokkos/include/Kokkos_AnonymousSpace.hpp /opt/kokkos/include/KokkosExp_MDRangePolicy.hpp /opt/kokkos/include/Kokkos_Parallel.hpp /opt/kokkos/include/Kokkos_Complex.hpp /opt/kokkos/include/Kokkos_HostSpace.hpp /opt/kokkos/include/Kokkos_View.hpp /opt/kokkos/include/Kokkos_MasterLock.hpp /opt/kokkos/include/Kokkos_Concepts.hpp /opt/kokkos/include/Kokkos_MemoryPool.hpp /opt/kokkos/include/Kokkos_TaskPolicy.hpp /opt/kokkos/include/Kokkos_NumericTraits.hpp /opt/kokkos/include/Kokkos_Timer.hpp /opt/kokkos/include/Kokkos_WorkGraphPolicy.hpp /opt/kokkos/include/Kokkos_Array.hpp /opt/kokkos/include/Kokkos_Threads.hpp /opt/kokkos/include/Kokkos_Layout.hpp /opt/kokkos/include/Kokkos_ROCm.hpp /opt/kokkos/include/Kokkos_MemoryTraits.hpp /opt/kokkos/include/impl/Kokkos_ClockTic.hpp /opt/kokkos/include/impl/Kokkos_ViewLayoutTiled.hpp /opt/kokkos/include/impl/Kokkos_Profiling_DeviceInfo.hpp /opt/kokkos/include/impl/Kokkos_ViewTile.hpp /opt/kokkos/include/impl/Kokkos_ConcurrentBitset.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Sub.hpp /opt/kokkos/include/impl/Kokkos_Serial_Task.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Windows.hpp /opt/kokkos/include/impl/Kokkos_HostThreadTeam.hpp /opt/kokkos/include/impl/Kokkos_FunctorAnalysis.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_And.hpp /opt/kokkos/include/impl/KokkosExp_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIAvail.hpp /opt/kokkos/include/impl/Kokkos_SharedAlloc.hpp /opt/kokkos/include/impl/Kokkos_Volatile_Load.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Add.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Generic.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Compare_Exchange_Strong.hpp /opt/kokkos/include/impl/Kokkos_FunctorAdapter.hpp /opt/kokkos/include/impl/Kokkos_Serial_WorkGraphPolicy.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Assembly.hpp /opt/kokkos/include/impl/Kokkos_ViewUniformType.hpp /opt/kokkos/include/impl/Kokkos_ViewCtor.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue.hpp /opt/kokkos/include/impl/Kokkos_CPUDiscovery.hpp /opt/kokkos/include/impl/Kokkos_ViewArray.hpp /opt/kokkos/include/impl/Kokkos_PhysicalLayout.hpp /opt/kokkos/include/impl/Kokkos_HostBarrier.hpp /opt/kokkos/include/impl/Kokkos_Memory_Fence.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue_impl.hpp /opt/kokkos/include/impl/Kokkos_Error.hpp /opt/kokkos/include/impl/Kokkos_Atomic_View.hpp /opt/kokkos/include/impl/Kokkos_Profiling_Interface.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Exchange.hpp /opt/kokkos/include/impl/KokkosExp_Host_IterateTile.hpp /opt/kokkos/include/impl/Kokkos_OldMacros.hpp /opt/kokkos/include/impl/Kokkos_StaticAssert.hpp /opt/kokkos/include/impl/Kokkos_BitOps.hpp /opt/kokkos/include/impl/Kokkos_Traits.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Increment.hpp /opt/kokkos/include/impl/Kokkos_Tags.hpp /opt/kokkos/include/impl/Kokkos_Timer.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Decrement.hpp /opt/kokkos/include/impl/Kokkos_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_Spinwait.hpp /opt/kokkos/include/impl/Kokkos_Utilities.hpp /opt/kokkos/include/impl/Kokkos_AnalyzePolicy.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Or.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIDecl.hpp /opt/kokkos/include/Kokkos_DynRankView.hpp /opt/kokkos/include/Kokkos_Vector.hpp /opt/kokkos/include/Kokkos_StaticCrsGraph.hpp /opt/kokkos/include/Kokkos_Functional.hpp /opt/kokkos/include/Kokkos_DualView.hpp /opt/kokkos/include/Kokkos_DynamicView.hpp /opt/kokkos/include/Kokkos_Bitset.hpp /opt/kokkos/include/Kokkos_UnorderedMap.hpp /opt/kokkos/include/Kokkos_ScatterView.hpp /opt/kokkos/include/Kokkos_ErrorReporter.hpp /opt/kokkos/include/Kokkos_OffsetView.hpp /opt/kokkos/include/impl/Kokkos_StaticCrsGraph_factory.hpp /opt/kokkos/include/impl/Kokkos_Functional_impl.hpp /opt/kokkos/include/impl/Kokkos_Bitset_impl.hpp /opt/kokkos/include/impl/Kokkos_UnorderedMap_impl.hpp /opt/kokkos/include/Kokkos_Random.hpp /opt/kokkos/include/Kokkos_Sort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /opt/kokkos/include/Cuda/Kokkos_CudaExec.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Team.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Alloc.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_UniqueToken.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Task.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_abort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ReduceScan.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Vectorization.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Locks.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Error.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Parallel.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_View.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Internal.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Task.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Exec.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Parallel.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Team.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp CACHE STRING "Kokkos headers list" FORCE)
+set(KOKKOS_HEADERS /include/Kokkos_Serial.hpp /include/Kokkos_ExecPolicy.hpp /include/Kokkos_OpenMPTargetSpace.hpp /include/Kokkos_OpenMPTarget.hpp /include/Kokkos_Macros.hpp /include/Kokkos_Qthreads.hpp /include/Kokkos_Core_fwd.hpp /include/Kokkos_Pair.hpp /include/Kokkos_UniqueToken.hpp /include/Kokkos_Profiling_ProfileSection.hpp /include/Kokkos_OpenMP.hpp /include/Kokkos_Vectorization.hpp /include/Kokkos_Atomic.hpp /include/Kokkos_Crs.hpp /include/Kokkos_CudaSpace.hpp /include/Kokkos_ScratchSpace.hpp /include/Kokkos_CopyViews.hpp /include/Kokkos_Parallel_Reduce.hpp /include/Kokkos_hwloc.hpp /include/Kokkos_ROCmSpace.hpp /include/Kokkos_Core.hpp /include/Kokkos_HBWSpace.hpp /include/Kokkos_TaskScheduler.hpp /include/Kokkos_Cuda.hpp /include/Kokkos_AnonymousSpace.hpp /include/KokkosExp_MDRangePolicy.hpp /include/Kokkos_Parallel.hpp /include/Kokkos_Complex.hpp /include/Kokkos_HostSpace.hpp /include/Kokkos_View.hpp /include/Kokkos_MasterLock.hpp /include/Kokkos_Concepts.hpp /include/Kokkos_MemoryPool.hpp /include/Kokkos_TaskPolicy.hpp /include/Kokkos_NumericTraits.hpp /include/Kokkos_Timer.hpp /include/Kokkos_WorkGraphPolicy.hpp /include/Kokkos_Array.hpp /include/Kokkos_Threads.hpp /include/Kokkos_Layout.hpp /include/Kokkos_ROCm.hpp /include/Kokkos_MemoryTraits.hpp /include/impl/Kokkos_Atomic_Fetch_Sub.hpp /include/impl/Kokkos_ViewLayoutTiled.hpp /include/impl/Kokkos_Profiling_DeviceInfo.hpp /include/impl/Kokkos_ViewTile.hpp /include/impl/Kokkos_ConcurrentBitset.hpp /include/impl/Kokkos_Serial_Task.hpp /include/impl/Kokkos_Atomic_Windows.hpp /include/impl/Kokkos_HostThreadTeam.hpp /include/impl/Kokkos_FunctorAnalysis.hpp /include/impl/Kokkos_Atomic_Fetch_And.hpp /include/impl/KokkosExp_ViewMapping.hpp /include/impl/Kokkos_ViewFillCopyETIAvail.hpp /include/impl/Kokkos_SharedAlloc.hpp /include/impl/Kokkos_Volatile_Load.hpp /include/impl/Kokkos_Atomic_Fetch_Add.hpp /include/impl/Kokkos_Atomic_Generic.hpp /include/impl/Kokkos_Atomic_Compare_Exchange_Strong.hpp /include/impl/Kokkos_FunctorAdapter.hpp /include/impl/Kokkos_Serial_WorkGraphPolicy.hpp /include/impl/Kokkos_Atomic_Assembly.hpp /include/impl/Kokkos_Utilities.hpp /include/impl/Kokkos_ViewUniformType.hpp /include/impl/Kokkos_ViewCtor.hpp /include/impl/Kokkos_TaskQueue.hpp /include/impl/Kokkos_CPUDiscovery.hpp /include/impl/Kokkos_ViewArray.hpp /include/impl/Kokkos_PhysicalLayout.hpp /include/impl/Kokkos_HostBarrier.hpp /include/impl/Kokkos_Memory_Fence.hpp /include/impl/Kokkos_TaskQueue_impl.hpp /include/impl/Kokkos_Error.hpp /include/impl/Kokkos_Atomic_View.hpp /include/impl/Kokkos_Profiling_Interface.hpp /include/impl/Kokkos_Atomic_Exchange.hpp /include/impl/KokkosExp_Host_IterateTile.hpp /include/impl/Kokkos_OldMacros.hpp /include/impl/Kokkos_StaticAssert.hpp /include/impl/Kokkos_BitOps.hpp /include/impl/Kokkos_Traits.hpp /include/impl/Kokkos_Atomic_Increment.hpp /include/impl/Kokkos_Tags.hpp /include/impl/Kokkos_Timer.hpp /include/impl/Kokkos_Atomic_Decrement.hpp /include/impl/Kokkos_ViewMapping.hpp /include/impl/Kokkos_Spinwait.hpp /include/impl/Kokkos_HostSpace_deepcopy.hpp /include/impl/Kokkos_AnalyzePolicy.hpp /include/impl/Kokkos_ClockTic.hpp /include/impl/Kokkos_Atomic_Fetch_Or.hpp /include/impl/Kokkos_ViewFillCopyETIDecl.hpp /include/Kokkos_DynRankView.hpp /include/Kokkos_Vector.hpp /include/Kokkos_StaticCrsGraph.hpp /include/Kokkos_Functional.hpp /include/Kokkos_DualView.hpp /include/Kokkos_DynamicView.hpp /include/Kokkos_Bitset.hpp /include/Kokkos_UnorderedMap.hpp /include/Kokkos_ScatterView.hpp /include/Kokkos_ErrorReporter.hpp /include/Kokkos_OffsetView.hpp /include/impl/Kokkos_StaticCrsGraph_factory.hpp /include/impl/Kokkos_Functional_impl.hpp /include/impl/Kokkos_Bitset_impl.hpp /include/impl/Kokkos_UnorderedMap_impl.hpp /include/Kokkos_Random.hpp /include/Kokkos_Sort.hpp /include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /include/Cuda/Kokkos_CudaExec.hpp /include/Cuda/KokkosExp_Cuda_IterateTile.hpp /include/Cuda/Kokkos_Cuda_Team.hpp /include/Cuda/Kokkos_Cuda_Alloc.hpp /include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /include/Cuda/Kokkos_Cuda_UniqueToken.hpp /include/Cuda/Kokkos_Cuda_Task.hpp /include/Cuda/Kokkos_Cuda_abort.hpp /include/Cuda/Kokkos_Cuda_ReduceScan.hpp /include/Cuda/Kokkos_Cuda_Vectorization.hpp /include/Cuda/Kokkos_Cuda_Locks.hpp /include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /include/Cuda/Kokkos_Cuda_Error.hpp /include/Cuda/Kokkos_Cuda_Parallel.hpp /include/Cuda/Kokkos_Cuda_View.hpp /include/Cuda/Kokkos_Cuda_Internal.hpp /include/OpenMP/Kokkos_OpenMP_Task.hpp /include/OpenMP/Kokkos_OpenMP_Exec.hpp /include/OpenMP/Kokkos_OpenMP_Parallel.hpp /include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /include/OpenMP/Kokkos_OpenMP_Team.hpp /include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp CACHE STRING "Kokkos headers list" FORCE)
set(KOKKOS_HEADERS_IMPL CACHE STRING "Kokkos headers impl list" FORCE)
-set(KOKKOS_HEADERS_CUDA /opt/kokkos/include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /opt/kokkos/include/Cuda/Kokkos_CudaExec.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Team.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Alloc.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_UniqueToken.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Task.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_abort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ReduceScan.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Vectorization.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Locks.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Error.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Parallel.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_View.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Internal.hpp CACHE STRING "Kokkos headers Cuda list" FORCE)
-set(KOKKOS_HEADERS_OPENMP /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Task.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Exec.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Parallel.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Team.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp CACHE STRING "Kokkos headers OpenMP list" FORCE)
+set(KOKKOS_HEADERS_CUDA /include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /include/Cuda/Kokkos_CudaExec.hpp /include/Cuda/KokkosExp_Cuda_IterateTile.hpp /include/Cuda/Kokkos_Cuda_Team.hpp /include/Cuda/Kokkos_Cuda_Alloc.hpp /include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /include/Cuda/Kokkos_Cuda_UniqueToken.hpp /include/Cuda/Kokkos_Cuda_Task.hpp /include/Cuda/Kokkos_Cuda_abort.hpp /include/Cuda/Kokkos_Cuda_ReduceScan.hpp /include/Cuda/Kokkos_Cuda_Vectorization.hpp /include/Cuda/Kokkos_Cuda_Locks.hpp /include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /include/Cuda/Kokkos_Cuda_Error.hpp /include/Cuda/Kokkos_Cuda_Parallel.hpp /include/Cuda/Kokkos_Cuda_View.hpp /include/Cuda/Kokkos_Cuda_Internal.hpp CACHE STRING "Kokkos headers Cuda list" FORCE)
+set(KOKKOS_HEADERS_OPENMP /include/OpenMP/Kokkos_OpenMP_Task.hpp /include/OpenMP/Kokkos_OpenMP_Exec.hpp /include/OpenMP/Kokkos_OpenMP_Parallel.hpp /include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /include/OpenMP/Kokkos_OpenMP_Team.hpp /include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp CACHE STRING "Kokkos headers OpenMP list" FORCE)
set(KOKKOS_HEADERS_ROCM CACHE STRING "Kokkos headers ROCm list" FORCE)
set(KOKKOS_HEADERS_THREADS CACHE STRING "Kokkos headers Threads list" FORCE)
set(KOKKOS_HEADERS_QTHREADS CACHE STRING "Kokkos headers QThreads list" FORCE)
#Variables used in application Makefiles
set(KOKKOS_OS Linux CACHE STRING "" FORCE)
-set(KOKKOS_CPP_DEPENDS KokkosCore_config.h /opt/kokkos/include/Kokkos_Serial.hpp /opt/kokkos/include/Kokkos_ExecPolicy.hpp /opt/kokkos/include/Kokkos_OpenMPTargetSpace.hpp /opt/kokkos/include/Kokkos_OpenMPTarget.hpp /opt/kokkos/include/Kokkos_Macros.hpp /opt/kokkos/include/Kokkos_Qthreads.hpp /opt/kokkos/include/Kokkos_Core_fwd.hpp /opt/kokkos/include/Kokkos_Pair.hpp /opt/kokkos/include/Kokkos_UniqueToken.hpp /opt/kokkos/include/Kokkos_Profiling_ProfileSection.hpp /opt/kokkos/include/Kokkos_OpenMP.hpp /opt/kokkos/include/Kokkos_Vectorization.hpp /opt/kokkos/include/Kokkos_Atomic.hpp /opt/kokkos/include/Kokkos_Crs.hpp /opt/kokkos/include/Kokkos_CudaSpace.hpp /opt/kokkos/include/Kokkos_ScratchSpace.hpp /opt/kokkos/include/Kokkos_CopyViews.hpp /opt/kokkos/include/Kokkos_Parallel_Reduce.hpp /opt/kokkos/include/Kokkos_hwloc.hpp /opt/kokkos/include/Kokkos_ROCmSpace.hpp /opt/kokkos/include/Kokkos_Core.hpp /opt/kokkos/include/Kokkos_HBWSpace.hpp /opt/kokkos/include/Kokkos_TaskScheduler.hpp /opt/kokkos/include/Kokkos_Cuda.hpp /opt/kokkos/include/Kokkos_AnonymousSpace.hpp /opt/kokkos/include/KokkosExp_MDRangePolicy.hpp /opt/kokkos/include/Kokkos_Parallel.hpp /opt/kokkos/include/Kokkos_Complex.hpp /opt/kokkos/include/Kokkos_HostSpace.hpp /opt/kokkos/include/Kokkos_View.hpp /opt/kokkos/include/Kokkos_MasterLock.hpp /opt/kokkos/include/Kokkos_Concepts.hpp /opt/kokkos/include/Kokkos_MemoryPool.hpp /opt/kokkos/include/Kokkos_TaskPolicy.hpp /opt/kokkos/include/Kokkos_NumericTraits.hpp /opt/kokkos/include/Kokkos_Timer.hpp /opt/kokkos/include/Kokkos_WorkGraphPolicy.hpp /opt/kokkos/include/Kokkos_Array.hpp /opt/kokkos/include/Kokkos_Threads.hpp /opt/kokkos/include/Kokkos_Layout.hpp /opt/kokkos/include/Kokkos_ROCm.hpp /opt/kokkos/include/Kokkos_MemoryTraits.hpp /opt/kokkos/include/impl/Kokkos_ClockTic.hpp /opt/kokkos/include/impl/Kokkos_ViewLayoutTiled.hpp /opt/kokkos/include/impl/Kokkos_Profiling_DeviceInfo.hpp /opt/kokkos/include/impl/Kokkos_ViewTile.hpp /opt/kokkos/include/impl/Kokkos_ConcurrentBitset.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Sub.hpp /opt/kokkos/include/impl/Kokkos_Serial_Task.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Windows.hpp /opt/kokkos/include/impl/Kokkos_HostThreadTeam.hpp /opt/kokkos/include/impl/Kokkos_FunctorAnalysis.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_And.hpp /opt/kokkos/include/impl/KokkosExp_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIAvail.hpp /opt/kokkos/include/impl/Kokkos_SharedAlloc.hpp /opt/kokkos/include/impl/Kokkos_Volatile_Load.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Add.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Generic.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Compare_Exchange_Strong.hpp /opt/kokkos/include/impl/Kokkos_FunctorAdapter.hpp /opt/kokkos/include/impl/Kokkos_Serial_WorkGraphPolicy.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Assembly.hpp /opt/kokkos/include/impl/Kokkos_ViewUniformType.hpp /opt/kokkos/include/impl/Kokkos_ViewCtor.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue.hpp /opt/kokkos/include/impl/Kokkos_CPUDiscovery.hpp /opt/kokkos/include/impl/Kokkos_ViewArray.hpp /opt/kokkos/include/impl/Kokkos_PhysicalLayout.hpp /opt/kokkos/include/impl/Kokkos_HostBarrier.hpp /opt/kokkos/include/impl/Kokkos_Memory_Fence.hpp /opt/kokkos/include/impl/Kokkos_TaskQueue_impl.hpp /opt/kokkos/include/impl/Kokkos_Error.hpp /opt/kokkos/include/impl/Kokkos_Atomic_View.hpp /opt/kokkos/include/impl/Kokkos_Profiling_Interface.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Exchange.hpp /opt/kokkos/include/impl/KokkosExp_Host_IterateTile.hpp /opt/kokkos/include/impl/Kokkos_OldMacros.hpp /opt/kokkos/include/impl/Kokkos_StaticAssert.hpp /opt/kokkos/include/impl/Kokkos_BitOps.hpp /opt/kokkos/include/impl/Kokkos_Traits.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Increment.hpp /opt/kokkos/include/impl/Kokkos_Tags.hpp /opt/kokkos/include/impl/Kokkos_Timer.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Decrement.hpp /opt/kokkos/include/impl/Kokkos_ViewMapping.hpp /opt/kokkos/include/impl/Kokkos_Spinwait.hpp /opt/kokkos/include/impl/Kokkos_Utilities.hpp /opt/kokkos/include/impl/Kokkos_AnalyzePolicy.hpp /opt/kokkos/include/impl/Kokkos_Atomic_Fetch_Or.hpp /opt/kokkos/include/impl/Kokkos_ViewFillCopyETIDecl.hpp /opt/kokkos/include/Kokkos_DynRankView.hpp /opt/kokkos/include/Kokkos_Vector.hpp /opt/kokkos/include/Kokkos_StaticCrsGraph.hpp /opt/kokkos/include/Kokkos_Functional.hpp /opt/kokkos/include/Kokkos_DualView.hpp /opt/kokkos/include/Kokkos_DynamicView.hpp /opt/kokkos/include/Kokkos_Bitset.hpp /opt/kokkos/include/Kokkos_UnorderedMap.hpp /opt/kokkos/include/Kokkos_ScatterView.hpp /opt/kokkos/include/Kokkos_ErrorReporter.hpp /opt/kokkos/include/Kokkos_OffsetView.hpp /opt/kokkos/include/impl/Kokkos_StaticCrsGraph_factory.hpp /opt/kokkos/include/impl/Kokkos_Functional_impl.hpp /opt/kokkos/include/impl/Kokkos_Bitset_impl.hpp /opt/kokkos/include/impl/Kokkos_UnorderedMap_impl.hpp /opt/kokkos/include/Kokkos_Random.hpp /opt/kokkos/include/Kokkos_Sort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /opt/kokkos/include/Cuda/Kokkos_CudaExec.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Team.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Alloc.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_UniqueToken.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Task.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_abort.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_ReduceScan.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Vectorization.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Locks.hpp /opt/kokkos/include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Error.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Parallel.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_View.hpp /opt/kokkos/include/Cuda/Kokkos_Cuda_Internal.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Task.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Exec.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Parallel.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_Team.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /opt/kokkos/include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp CACHE STRING "" FORCE)
+set(KOKKOS_CPP_DEPENDS KokkosCore_config.h /include/Kokkos_Serial.hpp /include/Kokkos_ExecPolicy.hpp /include/Kokkos_OpenMPTargetSpace.hpp /include/Kokkos_OpenMPTarget.hpp /include/Kokkos_Macros.hpp /include/Kokkos_Qthreads.hpp /include/Kokkos_Core_fwd.hpp /include/Kokkos_Pair.hpp /include/Kokkos_UniqueToken.hpp /include/Kokkos_Profiling_ProfileSection.hpp /include/Kokkos_OpenMP.hpp /include/Kokkos_Vectorization.hpp /include/Kokkos_Atomic.hpp /include/Kokkos_Crs.hpp /include/Kokkos_CudaSpace.hpp /include/Kokkos_ScratchSpace.hpp /include/Kokkos_CopyViews.hpp /include/Kokkos_Parallel_Reduce.hpp /include/Kokkos_hwloc.hpp /include/Kokkos_ROCmSpace.hpp /include/Kokkos_Core.hpp /include/Kokkos_HBWSpace.hpp /include/Kokkos_TaskScheduler.hpp /include/Kokkos_Cuda.hpp /include/Kokkos_AnonymousSpace.hpp /include/KokkosExp_MDRangePolicy.hpp /include/Kokkos_Parallel.hpp /include/Kokkos_Complex.hpp /include/Kokkos_HostSpace.hpp /include/Kokkos_View.hpp /include/Kokkos_MasterLock.hpp /include/Kokkos_Concepts.hpp /include/Kokkos_MemoryPool.hpp /include/Kokkos_TaskPolicy.hpp /include/Kokkos_NumericTraits.hpp /include/Kokkos_Timer.hpp /include/Kokkos_WorkGraphPolicy.hpp /include/Kokkos_Array.hpp /include/Kokkos_Threads.hpp /include/Kokkos_Layout.hpp /include/Kokkos_ROCm.hpp /include/Kokkos_MemoryTraits.hpp /include/impl/Kokkos_Atomic_Fetch_Sub.hpp /include/impl/Kokkos_ViewLayoutTiled.hpp /include/impl/Kokkos_Profiling_DeviceInfo.hpp /include/impl/Kokkos_ViewTile.hpp /include/impl/Kokkos_ConcurrentBitset.hpp /include/impl/Kokkos_Serial_Task.hpp /include/impl/Kokkos_Atomic_Windows.hpp /include/impl/Kokkos_HostThreadTeam.hpp /include/impl/Kokkos_FunctorAnalysis.hpp /include/impl/Kokkos_Atomic_Fetch_And.hpp /include/impl/KokkosExp_ViewMapping.hpp /include/impl/Kokkos_ViewFillCopyETIAvail.hpp /include/impl/Kokkos_SharedAlloc.hpp /include/impl/Kokkos_Volatile_Load.hpp /include/impl/Kokkos_Atomic_Fetch_Add.hpp /include/impl/Kokkos_Atomic_Generic.hpp /include/impl/Kokkos_Atomic_Compare_Exchange_Strong.hpp /include/impl/Kokkos_FunctorAdapter.hpp /include/impl/Kokkos_Serial_WorkGraphPolicy.hpp /include/impl/Kokkos_Atomic_Assembly.hpp /include/impl/Kokkos_Utilities.hpp /include/impl/Kokkos_ViewUniformType.hpp /include/impl/Kokkos_ViewCtor.hpp /include/impl/Kokkos_TaskQueue.hpp /include/impl/Kokkos_CPUDiscovery.hpp /include/impl/Kokkos_ViewArray.hpp /include/impl/Kokkos_PhysicalLayout.hpp /include/impl/Kokkos_HostBarrier.hpp /include/impl/Kokkos_Memory_Fence.hpp /include/impl/Kokkos_TaskQueue_impl.hpp /include/impl/Kokkos_Error.hpp /include/impl/Kokkos_Atomic_View.hpp /include/impl/Kokkos_Profiling_Interface.hpp /include/impl/Kokkos_Atomic_Exchange.hpp /include/impl/KokkosExp_Host_IterateTile.hpp /include/impl/Kokkos_OldMacros.hpp /include/impl/Kokkos_StaticAssert.hpp /include/impl/Kokkos_BitOps.hpp /include/impl/Kokkos_Traits.hpp /include/impl/Kokkos_Atomic_Increment.hpp /include/impl/Kokkos_Tags.hpp /include/impl/Kokkos_Timer.hpp /include/impl/Kokkos_Atomic_Decrement.hpp /include/impl/Kokkos_ViewMapping.hpp /include/impl/Kokkos_Spinwait.hpp /include/impl/Kokkos_HostSpace_deepcopy.hpp /include/impl/Kokkos_AnalyzePolicy.hpp /include/impl/Kokkos_ClockTic.hpp /include/impl/Kokkos_Atomic_Fetch_Or.hpp /include/impl/Kokkos_ViewFillCopyETIDecl.hpp /include/Kokkos_DynRankView.hpp /include/Kokkos_Vector.hpp /include/Kokkos_StaticCrsGraph.hpp /include/Kokkos_Functional.hpp /include/Kokkos_DualView.hpp /include/Kokkos_DynamicView.hpp /include/Kokkos_Bitset.hpp /include/Kokkos_UnorderedMap.hpp /include/Kokkos_ScatterView.hpp /include/Kokkos_ErrorReporter.hpp /include/Kokkos_OffsetView.hpp /include/impl/Kokkos_StaticCrsGraph_factory.hpp /include/impl/Kokkos_Functional_impl.hpp /include/impl/Kokkos_Bitset_impl.hpp /include/impl/Kokkos_UnorderedMap_impl.hpp /include/Kokkos_Random.hpp /include/Kokkos_Sort.hpp /include/Cuda/Kokkos_Cuda_WorkGraphPolicy.hpp /include/Cuda/Kokkos_CudaExec.hpp /include/Cuda/KokkosExp_Cuda_IterateTile.hpp /include/Cuda/Kokkos_Cuda_Team.hpp /include/Cuda/Kokkos_Cuda_Alloc.hpp /include/Cuda/Kokkos_Cuda_ViewCopyETIAvail.hpp /include/Cuda/Kokkos_Cuda_ViewCopyETIDecl.hpp /include/Cuda/Kokkos_Cuda_Version_9_8_Compatibility.hpp /include/Cuda/Kokkos_Cuda_UniqueToken.hpp /include/Cuda/Kokkos_Cuda_Task.hpp /include/Cuda/Kokkos_Cuda_abort.hpp /include/Cuda/Kokkos_Cuda_ReduceScan.hpp /include/Cuda/Kokkos_Cuda_Vectorization.hpp /include/Cuda/Kokkos_Cuda_Locks.hpp /include/Cuda/KokkosExp_Cuda_IterateTile_Refactor.hpp /include/Cuda/Kokkos_Cuda_Error.hpp /include/Cuda/Kokkos_Cuda_Parallel.hpp /include/Cuda/Kokkos_Cuda_View.hpp /include/Cuda/Kokkos_Cuda_Internal.hpp /include/OpenMP/Kokkos_OpenMP_Task.hpp /include/OpenMP/Kokkos_OpenMP_Exec.hpp /include/OpenMP/Kokkos_OpenMP_Parallel.hpp /include/OpenMP/Kokkos_OpenMP_WorkGraphPolicy.hpp /include/OpenMP/Kokkos_OpenMP_Team.hpp /include/OpenMP/Kokkos_OpenMP_ViewCopyETIAvail.hpp /include/OpenMP/Kokkos_OpenMP_ViewCopyETIDecl.hpp CACHE STRING "" FORCE)
set(KOKKOS_LINK_DEPENDS libkokkos.a CACHE STRING "" FORCE)
set(KOKKOS_CXXFLAGS --std=c++11 -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored -expt-extended-lambda -mavx -arch=sm_70 -Xcompiler -fopenmp CACHE STRING "" FORCE)
set(KOKKOS_CPPFLAGS CACHE STRING "" FORCE)
set(KOKKOS_LDFLAGS -mavx -arch=sm_70 -L/usr/local/cuda/lib64 -fopenmp CACHE STRING "" FORCE)
set(KOKKOS_CXXLDFLAGS -L/usr/local/cuda/lib64 CACHE STRING "" FORCE)
-set(KOKKOS_LIBS -lkokkos -ldl -lrt -lcudart -lcuda CACHE STRING "" FORCE)
-set(KOKKOS_EXTRA_LIBS -ldl -lrt -lcudart -lcuda CACHE STRING "" FORCE)
+set(KOKKOS_LIBS -lkokkos -ldl -lcudart -lcuda CACHE STRING "" FORCE)
+set(KOKKOS_EXTRA_LIBS -ldl -lcudart -lcuda CACHE STRING "" FORCE)
set(KOKKOS_LINK_FLAGS -fopenmp CACHE STRING "extra flags to the link step (e.g. OpenMP)" FORCE)
#Internal settings which need to propagated for Kokkos examples
@@ -44,10 +44,10 @@ set(KOKKOS_INTERNAL_USE_PTHREADS 0 CACHE STRING "" FORCE)
set(KOKKOS_INTERNAL_USE_SERIAL 1 CACHE STRING "" FORCE)
set(KOKKOS_INTERNAL_USE_ROCM 0 CACHE STRING "" FORCE)
set(KOKKOS_INTERNAL_USE_QTHREADS 0 CACHE STRING "" FORCE)
-set(KOKKOS_SRC /scratch/kokkos/core/src/impl/Kokkos_Serial.cpp /scratch/kokkos/core/src/impl/Kokkos_ExecPolicy.cpp /scratch/kokkos/core/src/impl/Kokkos_HostThreadTeam.cpp /scratch/kokkos/core/src/impl/Kokkos_Serial_Task.cpp /scratch/kokkos/core/src/impl/Kokkos_SharedAlloc.cpp /scratch/kokkos/core/src/impl/Kokkos_Spinwait.cpp /scratch/kokkos/core/src/impl/Kokkos_Profiling_Interface.cpp /scratch/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp /scratch/kokkos/core/src/impl/Kokkos_hwloc.cpp /scratch/kokkos/core/src/impl/Kokkos_HostBarrier.cpp /scratch/kokkos/core/src/impl/Kokkos_Error.cpp /scratch/kokkos/core/src/impl/Kokkos_Core.cpp /scratch/kokkos/core/src/impl/Kokkos_HostSpace.cpp /scratch/kokkos/core/src/impl/Kokkos_MemoryPool.cpp /scratch/kokkos/containers/src/impl/Kokkos_UnorderedMap_impl.cpp /scratch/kokkos/core/src/Cuda/Kokkos_Cuda_Locks.cpp /scratch/kokkos/core/src/Cuda/Kokkos_CudaSpace.cpp /scratch/kokkos/core/src/Cuda/Kokkos_Cuda_Task.cpp /scratch/kokkos/core/src/Cuda/Kokkos_Cuda_Impl.cpp /scratch/kokkos/core/src/OpenMP/Kokkos_OpenMP_Task.cpp /scratch/kokkos/core/src/OpenMP/Kokkos_OpenMP_Exec.cpp CACHE STRING "Kokkos source list" FORCE)
+set(KOKKOS_SRC /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_HostSpace_deepcopy.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_Serial.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_ExecPolicy.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_HostThreadTeam.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_Serial_Task.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_SharedAlloc.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_Spinwait.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_Profiling_Interface.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_CPUDiscovery.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_hwloc.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_HostBarrier.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_Error.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_Core.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_HostSpace.cpp /scratch/trilinos/packages/kokkos/core/src/impl/Kokkos_MemoryPool.cpp /scratch/trilinos/packages/kokkos/containers/src/impl/Kokkos_UnorderedMap_impl.cpp /scratch/trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_Locks.cpp /scratch/trilinos/packages/kokkos/core/src/Cuda/Kokkos_CudaSpace.cpp /scratch/trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_Task.cpp /scratch/trilinos/packages/kokkos/core/src/Cuda/Kokkos_Cuda_Impl.cpp /scratch/trilinos/packages/kokkos/core/src/OpenMP/Kokkos_OpenMP_Task.cpp /scratch/trilinos/packages/kokkos/core/src/OpenMP/Kokkos_OpenMP_Exec.cpp CACHE STRING "Kokkos source list" FORCE)
set(KOKKOS_CXX_FLAGS --std=c++11 -Xcudafe --diag_suppress=esa_on_defaulted_function_ignored -expt-extended-lambda -mavx -arch=sm_70 -Xcompiler -fopenmp)
set(KOKKOS_CPP_FLAGS )
set(KOKKOS_LD_FLAGS -mavx -arch=sm_70 -L/usr/local/cuda/lib64 -fopenmp)
-set(KOKKOS_LIBS_LIST "-lkokkos -ldl -lrt -lcudart -lcuda")
-set(KOKKOS_EXTRA_LIBS_LIST "-ldl -lrt -lcudart -lcuda")
+set(KOKKOS_LIBS_LIST "-lkokkos -ldl -lcudart -lcuda")
+set(KOKKOS_EXTRA_LIBS_LIST "-ldl -lcudart -lcuda")
set(KOKKOS_LINK_FLAGS -fopenmp)
All variables are expected to start with <PakageName>_
Not honoring -D CMAKE_BUILD_TYPE=Release
, have to pass -D KOKKOS_ENABLE_DEBUG=OFF
KOKKOS_CXX_STANDARD
is set to "c++11"
. Supported values for CMAKE_CXX_STANDARD
are 98
, 11
, 14
, 17
, and 20
NVCC_WRAPPER
points to the source directory
-D TPL_ENABLE_LIBRT=ON
(default not consistent between Trilinos and Kokkos builds)
Inconsistensies in relative path to KOKKOS_PATH
for source and headers
kokkos
target (case sensitive!)kokkoscore
, kokkosalgorithms
, and kokkoscontainers
Either use what's already there (exported target from Kokkos built using CMake)
Or do it yourself (find Kokkos module)
find_package(Kokkos REQUIRED)
target_link_libraries(<target> kokkos) # case sensitive (k)okkos
target_include_directories(<target> PUBLIC ${Kokkos_INCLUDE_DIRS})
need to add <prefix>/lib/CMake/Kokkos
to CMAKE_PATH_PREFIX
tell your users they have to build Kokkos using cmake
broken with Clang
Write a "find module", i.e. a FindKokkos.cmake
file to be loaded by find_package()
when invoked for Kokkos
.
Mix traditional approach (use variables for everything, including libraries and executables) with more modern approach that is to behave as much like config file packages files as possible, by providing imported target.
Kokkos_FOUND
Kokkos_INCLUDE_DIRS
Kokkos_LIBRARIES
Kokkos_DEFINITIONS
Kokkos_LIBRARY_DIRS
Kokkos_VERSION
Kokkos_NVCC_WRAPPER_EXECTUABLE
together with Kokkos::kokkos
Target has the advantage of propagating transitive usage requirements to consumers.
May use cache variables for users to edit and control the behaviour of the find module.
May also provide functions or macros.
Try to use pkg-config
to find the library since it is currently available for Kokkos
find_package(PkgConfig)
pkg_check_modules(PC_Kokkos QUIET kokkos)
This will define some variables starting PC_Kokkos_
that contain the information from the kokkos.pc
file
Use the information from pkg-config
to provide hints to CMake about where to look
find_path(Kokkos_INCLUDE_DIR
NAMES Kokkos_Core.hpp
PATHS ${PC_Kokkos_INCLUDE_DIRS}
)
find_library(Kokkos_LIBRARY
NAMES kokkos
PATHS ${PC_Kokkos_LIBRARY_DIRS}
)
Get the version somehow...
set(Kokkos_VERSION ${PC_Kokkos_VERSION}) # not currently defined in kokkos.pc
Use FindPackageHandleStandardArgs
to do most of the rest of the work
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Kokkos
FOUND_VAR Kokkos_FOUND
REQUIRED_VARS
Kokkos_LIBRARY
Kokkos_INCLUDE_DIR
VERSION_VAR Kokkos_VERSION
)
Traditional variable approach looks like
if(Kokkos_FOUND)
set(Kokkos_LIBRARIES ${Kokkos_LIBRARY})
set(Kokkos_INCLUDE_DIRS ${Kokkos_INCLUDE_DIR})
set(Kokkos_DEFINITIONS ${PC_Kokkos_CFLAGS_OTHER})
endif()
Modern approach is
if(Kokkos_FOUND AND NOT TARGET Kokkos::kokkos)
add_library(Kokkos::Kokkos UNKNOWN IMPORTED)
set_target_properties(Kokkos::kokkos PROPERTIES
IMPORTED_LOCATION "${Kokkos_LIBRARY}"
INTERFACE_COMPILE_OPTIONS "${PC_Kokkos_CFLAGS_OTHER}"
INTERFACE_INCLUDE_DIRECTORIES "${Kokkos_INCLUDE_DIR}"
)
endif()
When providing imported target, these should be namespaced (note the Kokkos::
prefix)
CMake will recognize that values passed to target_link_libraries()
that contain ::
in their name are supposed to be imported targets (rather than just library names), and will produce appropriate diagnostic messages if that target does not exist
Every project using Kokkos writes its own FindKokkos.cmake
It is easy to get it wrong
Kokkos really should be providing it
Harmless for users that wrote their own find module
Keep legacy target without the namespace so we do not break code
New Kokkos:kokkos
target is a pure addition
Add a function makes sure that kokkos was built with the requested backends and target architectures and generates a fatal error if it was not.
kokkos_check_requested(
[DEVICES <devices>...] # Set of backends (e.g. "OpenMP" and/or "Cuda")
[ARCH <archs>...] # Target architectures (e.g. "Volta70", etc.)
)
Status quo is bad
We need to change it
find_package(Kokkos REQUIRED)
target_link_libraries(<target> Kokkos::kokkos)
<prefix>/lib/cmake/KokkosConfig.cmake
regardless of how Kokkos was builtKokkos::kokkos
alongside the pre-existing one to avoid breaking everybody's code<prefix>/lib/CMake/Kokkos/KokkosConfig.cmake
FindKokkos.cmake
module that provide similar functionality for backwards compatibilitykokkos_generated_settings.cmake
(emit warning from the exported config if it was included before)