Update Kokkos library in LAMMPS to v3.6.0
This commit is contained in:
@ -104,7 +104,7 @@ TEST(TEST_CATEGORY, IncrTest_01_execspace_typedef) {
|
||||
}
|
||||
|
||||
TEST(TEST_CATEGORY, IncrTest_01_execspace) {
|
||||
ASSERT_TRUE(Kokkos::is_execution_space<TEST_EXECSPACE>::value);
|
||||
ASSERT_FALSE(!Kokkos::is_execution_space<TEST_EXECSPACE>::value);
|
||||
ASSERT_FALSE(Kokkos::is_execution_space<
|
||||
TestIncrExecSpaceTypedef<TEST_EXECSPACE>>::value);
|
||||
TestIncrExecSpace<TEST_EXECSPACE> test;
|
||||
|
||||
@ -110,6 +110,7 @@ struct TestParallel_For {
|
||||
// Copy the data back to Host memory space
|
||||
Kokkos::Impl::DeepCopy<h_memspace_type, d_memspace_type>(
|
||||
hostData, deviceData, num_elements * sizeof(value_type));
|
||||
Kokkos::fence("Fence after copying data to host memory space");
|
||||
|
||||
// Check if all data has been update correctly
|
||||
correctness_check(hostData);
|
||||
|
||||
@ -170,6 +170,7 @@ struct TestMDRangePolicy {
|
||||
// Copy the data back to Host memory space
|
||||
Kokkos::Impl::DeepCopy<h_memspace_type, d_memspace_type>(
|
||||
hostData, deviceData, num_elements * sizeof(value_type));
|
||||
Kokkos::fence("Fence after copying data to host");
|
||||
|
||||
// Check if all data has been update correctly
|
||||
compare_equal_2D();
|
||||
@ -201,6 +202,7 @@ struct TestMDRangePolicy {
|
||||
// Copy the data back to Host memory space
|
||||
Kokkos::Impl::DeepCopy<h_memspace_type, d_memspace_type>(
|
||||
hostData, deviceData, num_elements * sizeof(value_type));
|
||||
Kokkos::fence("Fence after copying data to host");
|
||||
|
||||
// Check if all data has been update correctly
|
||||
compare_equal_3D();
|
||||
@ -232,6 +234,7 @@ struct TestMDRangePolicy {
|
||||
// Copy the data back to Host memory space
|
||||
Kokkos::Impl::DeepCopy<h_memspace_type, d_memspace_type>(
|
||||
hostData, deviceData, num_elements * sizeof(value_type));
|
||||
Kokkos::fence("Fence after copying data to host");
|
||||
|
||||
// Check if all data has been update correctly
|
||||
compare_equal_4D();
|
||||
|
||||
Reference in New Issue
Block a user