Update Kokkos library in LAMMPS to v2.9.00
This commit is contained in:
@ -185,6 +185,7 @@ int main (int narg, char* arg[]) {
|
||||
// This simulates one timestep with dt = 0.1.
|
||||
parallel_for (Ai.extent(0), update<mesh_type> (A, 0.1));
|
||||
|
||||
Kokkos::fence();
|
||||
printf ("Done\n");
|
||||
}
|
||||
Kokkos::finalize ();
|
||||
|
||||
@ -129,7 +129,7 @@ int main(int argc, char * argv[]) {
|
||||
h_a(i) = 0.0;
|
||||
});
|
||||
Kokkos::parallel_for(Kokkos::RangePolicy<Kokkos::OpenMP>(0,size),ComputeAHost(h_a,h_b));
|
||||
Kokkos::OpenMP::fence();
|
||||
Kokkos::OpenMP().fence();
|
||||
if(synch==1)
|
||||
Kokkos::deep_copy(Kokkos::OpenMP(), d_tmp,h_a);
|
||||
if(synch==2)
|
||||
|
||||
Reference in New Issue
Block a user