Update Kokkos library in LAMMPS to v3.7.0
This commit is contained in:
@ -42,7 +42,6 @@
|
||||
//@HEADER
|
||||
*/
|
||||
|
||||
#include <std_algorithms/Kokkos_BeginEnd.hpp>
|
||||
#include <Kokkos_StdAlgorithms.hpp>
|
||||
|
||||
namespace Test {
|
||||
@ -61,12 +60,6 @@ struct TrivialBinaryFunctor {
|
||||
ValueType operator()(const ValueType &a, const ValueType &b) const {
|
||||
return (a + b);
|
||||
}
|
||||
|
||||
KOKKOS_INLINE_FUNCTION
|
||||
ValueType operator()(const volatile ValueType &a,
|
||||
const volatile ValueType &b) const {
|
||||
return (a + b);
|
||||
}
|
||||
};
|
||||
|
||||
template <class ValueType>
|
||||
@ -100,12 +93,6 @@ struct TrivialComparator {
|
||||
bool operator()(const ValueType &a, const ValueType &b) const {
|
||||
return a > b;
|
||||
}
|
||||
|
||||
KOKKOS_INLINE_FUNCTION
|
||||
bool operator()(const volatile ValueType &a,
|
||||
const volatile ValueType &b) const {
|
||||
return a > b;
|
||||
}
|
||||
};
|
||||
|
||||
template <class ValueType>
|
||||
@ -120,12 +107,6 @@ struct TrivialReduceJoinFunctor {
|
||||
ValueType operator()(const ValueType &a, const ValueType &b) const {
|
||||
return a + b;
|
||||
}
|
||||
|
||||
KOKKOS_FUNCTION
|
||||
ValueType operator()(const volatile ValueType &a,
|
||||
const volatile ValueType &b) const {
|
||||
return a + b;
|
||||
}
|
||||
};
|
||||
|
||||
template <class ValueType>
|
||||
|
||||
Reference in New Issue
Block a user