Update Kokkos library in LAMMPS to v3.7.0
This commit is contained in:
@ -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
|
||||
|
||||
@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user