Update to Kokkos library v2.5.00

This commit is contained in:
Stan Moore
2017-12-15 16:42:06 -07:00
parent da83feb8ca
commit a2756db66b
292 changed files with 8238 additions and 2823 deletions

View File

@ -54,6 +54,7 @@
#include <TestUnorderedMapPerformance.hpp>
#include <TestDynRankView.hpp>
#include <TestScatterView.hpp>
#include <iomanip>
#include <sstream>
@ -122,6 +123,18 @@ TEST_F( openmp, unordered_map_performance_far)
Perf::run_performance_tests<Kokkos::OpenMP,false>(base_file_name.str());
}
TEST_F( openmp, scatter_view)
{
std::cout << "ScatterView data-duplicated test:\n";
Perf::test_scatter_view<Kokkos::OpenMP, Kokkos::LayoutRight,
Kokkos::Experimental::ScatterDuplicated,
Kokkos::Experimental::ScatterNonAtomic>(10, 1000 * 1000);
//std::cout << "ScatterView atomics test:\n";
//Perf::test_scatter_view<Kokkos::OpenMP, Kokkos::LayoutRight,
// Kokkos::Experimental::ScatterNonDuplicated,
// Kokkos::Experimental::ScatterAtomic>(10, 1000 * 1000);
}
} // namespace test
#else
void KOKKOS_CONTAINERS_PERFORMANCE_TESTS_TESTOPENMP_PREVENT_EMPTY_LINK_ERROR() {}