Update Kokkos library in LAMMPS to v3.6.0

This commit is contained in:
Stan Gerald Moore
2022-05-05 11:44:47 -06:00
parent bd4bbbddbe
commit b79c0bc7b4
380 changed files with 41928 additions and 8786 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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();