Update Kokkos library in LAMMPS to v3.2

This commit is contained in:
Stan Moore
2020-08-25 20:21:48 -06:00
parent 450fd12d31
commit 4d90c2b74b
1410 changed files with 19364 additions and 71953 deletions

View File

@ -57,8 +57,8 @@ namespace Test {
template <class DeviceType>
struct ConcurrentBitset {
typedef Kokkos::View<uint32_t*, DeviceType> view_unsigned_type;
typedef Kokkos::View<int*, DeviceType> view_int_type;
using view_unsigned_type = Kokkos::View<uint32_t*, DeviceType>;
using view_int_type = Kokkos::View<int*, DeviceType>;
view_unsigned_type bitset;
view_int_type acquired;
@ -117,9 +117,9 @@ struct ConcurrentBitset {
template <class DeviceType>
void test_concurrent_bitset(int bit_count) {
typedef ConcurrentBitset<DeviceType> Functor;
typedef typename Functor::view_unsigned_type view_unsigned_type;
typedef typename Functor::view_int_type view_int_type;
using Functor = ConcurrentBitset<DeviceType>;
using view_unsigned_type = typename Functor::view_unsigned_type;
using view_int_type = typename Functor::view_int_type;
int bit_count_lg2 = 1;