Update Kokkos library in LAMMPS to v3.1
This commit is contained in:
@ -69,7 +69,10 @@ struct InvNorm2 : public Kokkos::DotSingle<VectorView> {
|
||||
|
||||
KOKKOS_INLINE_FUNCTION
|
||||
void final(value_type& result) const {
|
||||
result = std::sqrt(result);
|
||||
#ifndef KOKKOS_ENABLE_HIP // FIXME_HIP
|
||||
using std::sqrt;
|
||||
#endif
|
||||
result = sqrt(result);
|
||||
Rjj() = result;
|
||||
inv() = (0 < result) ? 1.0 / result : 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user