Update Kokkos library in LAMMPS to v3.4.0
This commit is contained in:
@ -163,7 +163,8 @@ struct TestFind {
|
||||
KOKKOS_INLINE_FUNCTION
|
||||
void operator()(typename execution_space::size_type i,
|
||||
value_type &errors) const {
|
||||
const bool expect_to_find_i = (i < m_max_key);
|
||||
const bool expect_to_find_i =
|
||||
(i < typename execution_space::size_type(m_max_key));
|
||||
|
||||
const bool exists = m_map.exists(i);
|
||||
|
||||
@ -293,10 +294,11 @@ void test_deep_copy(uint32_t num_nodes) {
|
||||
}
|
||||
}
|
||||
|
||||
// FIXME_HIP wrong result in CI but works locally
|
||||
#ifndef KOKKOS_ENABLE_HIP
|
||||
// FIXME_SYCL wrong results on Nvidia GPUs but correct on Host and Intel GPUs
|
||||
// FIXME_HIP
|
||||
// WORKAROUND MSVC
|
||||
#ifndef _WIN32
|
||||
#if !(defined(KOKKOS_ENABLE_HIP) && (HIP_VERSION < 401)) && \
|
||||
!defined(_WIN32) && !defined(KOKKOS_ENABLE_SYCL)
|
||||
TEST(TEST_CATEGORY, UnorderedMap_insert) {
|
||||
for (int i = 0; i < 500; ++i) {
|
||||
test_insert<TEST_EXECSPACE>(100000, 90000, 100, true);
|
||||
@ -304,7 +306,6 @@ TEST(TEST_CATEGORY, UnorderedMap_insert) {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
TEST(TEST_CATEGORY, UnorderedMap_failed_insert) {
|
||||
for (int i = 0; i < 1000; ++i) test_failed_insert<TEST_EXECSPACE>(10000);
|
||||
|
||||
Reference in New Issue
Block a user