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