Update Kokkos library to v2.7.00
This commit is contained in:
@ -44,7 +44,7 @@
|
||||
|
||||
#include <gtest/gtest.h>
|
||||
#include <iostream>
|
||||
|
||||
#include <Kokkos_UnorderedMap.hpp>
|
||||
|
||||
namespace Test {
|
||||
|
||||
@ -308,6 +308,23 @@ void test_deep_copy( uint32_t num_nodes )
|
||||
|
||||
}
|
||||
|
||||
TEST_F( TEST_CATEGORY, UnorderedMap_insert) {
|
||||
for (int i=0; i<500; ++i) {
|
||||
test_insert<TEST_EXECSPACE>(100000, 90000, 100, true);
|
||||
test_insert<TEST_EXECSPACE>(100000, 90000, 100, false);
|
||||
}
|
||||
}
|
||||
|
||||
TEST_F( TEST_CATEGORY, UnorderedMap_failed_insert) {
|
||||
for (int i=0; i<1000; ++i)
|
||||
test_failed_insert<TEST_EXECSPACE>(10000);
|
||||
}
|
||||
|
||||
TEST_F( TEST_CATEGORY, UnorderedMap_deep_copy) {
|
||||
for (int i=0; i<2; ++i)
|
||||
test_deep_copy<TEST_EXECSPACE>(10000);
|
||||
}
|
||||
|
||||
} // namespace Test
|
||||
|
||||
#endif //KOKKOS_TEST_UNORDERED_MAP_HPP
|
||||
|
||||
Reference in New Issue
Block a user