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

@ -91,10 +91,10 @@ struct TestViewCtorProp_EmbeddedDim {
{
// Two views
auto view_alloc_arg = Kokkos::common_view_alloc_prop(vi1, vd1);
typedef
typename decltype(view_alloc_arg)::value_type CommonViewValueType;
typedef typename Kokkos::View<CommonViewValueType*, ExecSpace> CVT;
typedef typename CVT::HostMirror HostCVT;
using CommonViewValueType =
typename decltype(view_alloc_arg)::value_type;
using CVT = typename Kokkos::View<CommonViewValueType*, ExecSpace>;
using HostCVT = typename CVT::HostMirror;
// Construct View using the common type; for case of specialization, an
// 'embedded_dim' would be stored by view_alloc_arg
@ -128,10 +128,10 @@ struct TestViewCtorProp_EmbeddedDim {
{
// Single view
auto view_alloc_arg = Kokkos::common_view_alloc_prop(vi1);
typedef
typename decltype(view_alloc_arg)::value_type CommonViewValueType;
typedef typename Kokkos::View<CommonViewValueType*, ExecSpace> CVT;
typedef typename CVT::HostMirror HostCVT;
using CommonViewValueType =
typename decltype(view_alloc_arg)::value_type;
using CVT = typename Kokkos::View<CommonViewValueType*, ExecSpace>;
using HostCVT = typename CVT::HostMirror;
// Construct View using the common type; for case of specialization, an
// 'embedded_dim' would be stored by view_alloc_arg
@ -161,10 +161,10 @@ struct TestViewCtorProp_EmbeddedDim {
{
// Two views
auto view_alloc_arg = Kokkos::common_view_alloc_prop(vi1, vd1);
typedef
typename decltype(view_alloc_arg)::value_type CommonViewValueType;
typedef typename Kokkos::View<CommonViewValueType*, ExecSpace> CVT;
typedef typename CVT::HostMirror HostCVT;
using CommonViewValueType =
typename decltype(view_alloc_arg)::value_type;
using CVT = typename Kokkos::View<CommonViewValueType*, ExecSpace>;
using HostCVT = typename CVT::HostMirror;
// Construct View using the common type; for case of specialization, an
// 'embedded_dim' would be stored by view_alloc_arg
@ -182,10 +182,10 @@ struct TestViewCtorProp_EmbeddedDim {
{
// Single views
auto view_alloc_arg = Kokkos::common_view_alloc_prop(vi1);
typedef
typename decltype(view_alloc_arg)::value_type CommonViewValueType;
typedef typename Kokkos::View<CommonViewValueType*, ExecSpace> CVT;
typedef typename CVT::HostMirror HostCVT;
using CommonViewValueType =
typename decltype(view_alloc_arg)::value_type;
using CVT = typename Kokkos::View<CommonViewValueType*, ExecSpace>;
using HostCVT = typename CVT::HostMirror;
// Construct View using the common type; for case of specialization, an
// 'embedded_dim' would be stored by view_alloc_arg