Update Kokkos library in LAMMPS to v3.7.0
This commit is contained in:
@ -43,8 +43,6 @@
|
||||
*/
|
||||
|
||||
#include <TestStdAlgorithmsCommon.hpp>
|
||||
#include <std_algorithms/Kokkos_BeginEnd.hpp>
|
||||
#include <std_algorithms/Kokkos_ModifyingSequenceOperations.hpp>
|
||||
#include <utility>
|
||||
#include <algorithm>
|
||||
|
||||
@ -166,13 +164,13 @@ void verify_data(ResultIt result_it, ViewType view, ViewHostType data_view_host,
|
||||
// make sure results match
|
||||
const auto my_diff = result_it - KE::begin(view);
|
||||
const auto std_diff = std_rit - KE::begin(data_view_host);
|
||||
EXPECT_TRUE(my_diff == std_diff);
|
||||
EXPECT_EQ(my_diff, std_diff);
|
||||
|
||||
// check views match
|
||||
auto view_h = create_host_space_copy(view);
|
||||
const std::size_t ext = view_h.extent(0);
|
||||
for (std::size_t i = 0; i < ext; ++i) {
|
||||
EXPECT_TRUE(view_h(i) == data_view_host[i]);
|
||||
EXPECT_EQ(view_h(i), data_view_host[i]);
|
||||
// std::cout << "i= " << i << " "
|
||||
// << "mine: " << view_h(i) << " "
|
||||
// << "std: " << data_view_host(i)
|
||||
|
||||
Reference in New Issue
Block a user