Update Kokkos library in LAMMPS to v3.7.2

This commit is contained in:
Stan Gerald Moore
2023-06-05 09:59:38 -06:00
parent 77340921ff
commit a12133ce03
31 changed files with 312 additions and 124 deletions

View File

@ -91,7 +91,7 @@ void test_shared_alloc() {
// Since always executed on host space, leave [=]
Kokkos::parallel_for(range, [=](int i) {
char name[64];
sprintf(name, "test_%.2d", i);
snprintf(name, 64, "test_%.2d", i);
r[i] = RecordMemS::allocate(s, name, size * (i + 1));
h[i] = Header::get_header(r[i]->data());
@ -135,7 +135,7 @@ void test_shared_alloc() {
Kokkos::parallel_for(range, [=](size_t i) {
char name[64];
sprintf(name, "test_%.2d", int(i));
snprintf(name, 64, "test_%.2d", int(i));
RecordFull* rec = RecordFull::allocate(s, name, size * (i + 1));