Update Kokkos library in LAMMPS to v3.4.0
This commit is contained in:
@ -170,9 +170,8 @@ struct TestRangeRequire {
|
||||
KOKKOS_INLINE_FUNCTION
|
||||
void operator()(const VerifyInitTag &, const int i) const {
|
||||
if (i != m_flags(i)) {
|
||||
#ifndef KOKKOS_ENABLE_SYCL
|
||||
printf("TestRangeRequire::test_for error at %d != %d\n", i, m_flags(i));
|
||||
#endif
|
||||
KOKKOS_IMPL_DO_NOT_USE_PRINTF(
|
||||
"TestRangeRequire::test_for error at %d != %d\n", i, m_flags(i));
|
||||
}
|
||||
}
|
||||
|
||||
@ -184,9 +183,8 @@ struct TestRangeRequire {
|
||||
KOKKOS_INLINE_FUNCTION
|
||||
void operator()(const VerifyResetTag &, const int i) const {
|
||||
if (2 * i != m_flags(i)) {
|
||||
#ifndef KOKKOS_ENABLE_SYCL
|
||||
printf("TestRangeRequire::test_for error at %d != %d\n", i, m_flags(i));
|
||||
#endif
|
||||
KOKKOS_IMPL_DO_NOT_USE_PRINTF(
|
||||
"TestRangeRequire::test_for error at %d != %d\n", i, m_flags(i));
|
||||
}
|
||||
}
|
||||
|
||||
@ -198,10 +196,9 @@ struct TestRangeRequire {
|
||||
KOKKOS_INLINE_FUNCTION
|
||||
void operator()(const VerifyOffsetTag &, const int i) const {
|
||||
if (i + offset != m_flags(i)) {
|
||||
#ifndef KOKKOS_ENABLE_SYCL
|
||||
printf("TestRangeRequire::test_for error at %d != %d\n", i + offset,
|
||||
m_flags(i));
|
||||
#endif
|
||||
KOKKOS_IMPL_DO_NOT_USE_PRINTF(
|
||||
"TestRangeRequire::test_for error at %d != %d\n", i + offset,
|
||||
m_flags(i));
|
||||
}
|
||||
}
|
||||
|
||||
@ -268,10 +265,9 @@ struct TestRangeRequire {
|
||||
|
||||
if (final) {
|
||||
if (update != (i * (i + 1)) / 2) {
|
||||
#ifndef KOKKOS_ENABLE_SYCL
|
||||
printf("TestRangeRequire::test_scan error %d : %d != %d\n", i,
|
||||
(i * (i + 1)) / 2, m_flags(i));
|
||||
#endif
|
||||
KOKKOS_IMPL_DO_NOT_USE_PRINTF(
|
||||
"TestRangeRequire::test_scan error %d : %d != %d\n", i,
|
||||
(i * (i + 1)) / 2, m_flags(i));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user