|From:||Denis Taniguchi <Denis.Taniguchi@...7548...>|
|Date:||Fri, 11 May 2018 10:51:00 +0000|
I noticed that sometimes rmass is just treated as a double* and sometimes as a AT::t_float_1d_randomread.
When treated as double* it takes the content of atomKK->rmass which is a pointer to host data. In FixNVEKokkos it stores rmass as double* but uses it inside a functor (FixNVEKokkosInitialIntegrateFunctor calling initial_integrate_rmass_item) which is dispatched by parallel_for.
Will the device kernel automagically copy the content to device memory?