Merge pull request #2831 from stanmoore1/kk_noinit

Remove deprecated Kokkos code ViewAllocateWithoutInitializing
This commit is contained in:
Axel Kohlmeyer
2021-07-14 12:09:30 -04:00
committed by GitHub

View File

@ -45,7 +45,9 @@ enum{FULL=1u,HALFTHREAD=2u,HALF=4u};
static constexpr LAMMPS_NS::bigint LMP_KOKKOS_AV_DELTA = 10;
namespace Kokkos {
using NoInit = ViewAllocateWithoutInitializing;
static auto NoInit = [](std::string const& label) {
return Kokkos::view_alloc(Kokkos::WithoutInitializing, label);
};
}
struct lmp_float3 {