From f270b600f78e1c0574bd9387c43efec363de9708 Mon Sep 17 00:00:00 2001 From: Stan Moore Date: Wed, 21 Apr 2021 08:17:17 -0600 Subject: [PATCH] Fix compile error in kokkos_type --- src/KOKKOS/kokkos_type.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/KOKKOS/kokkos_type.h b/src/KOKKOS/kokkos_type.h index af5adeee73..8eb9744a94 100644 --- a/src/KOKKOS/kokkos_type.h +++ b/src/KOKKOS/kokkos_type.h @@ -1038,6 +1038,11 @@ typedef tdual_virial_array::t_host_const_randomread t_virial_array_randomread; // Spin types //2d X_FLOAT array n*4 +#ifdef LMP_KOKKOS_NO_LEGACY +typedef Kokkos::DualView tdual_float_1d_4; +#else +typedef Kokkos::DualView tdual_float_1d_4; +#endif typedef tdual_float_1d_4::t_host t_sp_array; typedef tdual_float_1d_4::t_host_const t_sp_array_const; typedef tdual_float_1d_4::t_host_um t_sp_array_um;