Merge pull request #2715 from lammps/kk_bugfix
Fix compile error in Kokkos package
This commit is contained in:
@ -1038,6 +1038,11 @@ typedef tdual_virial_array::t_host_const_randomread t_virial_array_randomread;
|
|||||||
// Spin types
|
// Spin types
|
||||||
|
|
||||||
//2d X_FLOAT array n*4
|
//2d X_FLOAT array n*4
|
||||||
|
#ifdef LMP_KOKKOS_NO_LEGACY
|
||||||
|
typedef Kokkos::DualView<X_FLOAT*[4], Kokkos::LayoutLeft, LMPDeviceType> tdual_float_1d_4;
|
||||||
|
#else
|
||||||
|
typedef Kokkos::DualView<X_FLOAT*[4], Kokkos::LayoutRight, LMPDeviceType> tdual_float_1d_4;
|
||||||
|
#endif
|
||||||
typedef tdual_float_1d_4::t_host t_sp_array;
|
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_const t_sp_array_const;
|
||||||
typedef tdual_float_1d_4::t_host_um t_sp_array_um;
|
typedef tdual_float_1d_4::t_host_um t_sp_array_um;
|
||||||
|
|||||||
Reference in New Issue
Block a user