Update Kokkos library in LAMMPS to v3.7.0

This commit is contained in:
Stan Gerald Moore
2022-10-04 14:04:40 -06:00
parent dd072f7e08
commit f9f9e44f2d
653 changed files with 41432 additions and 33597 deletions

View File

@ -6,10 +6,6 @@ cmake_minimum_required(VERSION 3.16)
# Kokkos flags will only apply to C++ files
project(Example CXX Fortran)
# You need this for using Kokkos_ROOT variable
message(STATUS "Setting policy CMP0074 to use <Package>_ROOT variables")
cmake_policy(SET CMP0074 NEW)
# Look for an installed Kokkos but force using the compiler launcher
# to ensure that targets depending on Kokkos use the same compiler
# as when kokkos was installed, e.g. if kokkos was built with

View File

@ -53,7 +53,7 @@ struct CountFunctor {
int main(int argc, char* argv[]) {
Kokkos::initialize(argc, argv);
Kokkos::DefaultExecutionSpace::print_configuration(std::cout);
Kokkos::DefaultExecutionSpace().print_configuration(std::cout);
if (argc < 2) {
fprintf(stderr, "Usage: %s [<kokkos_options>] <size>\n", argv[0]);