add missing KOKKOS_INLINE_FUNCTION to fix_shardlow

This commit is contained in:
Dan Ibanez
2017-03-06 10:57:19 -07:00
parent b35895ca12
commit c2c22fc2ed
3 changed files with 4 additions and 2 deletions

View File

@ -28,8 +28,8 @@ action () {
# force rebuild of files with LMP_KOKKOS switch
touch ../accelerator_kokkos.h
touch ../memory.h
#touch ../accelerator_kokkos.h
#touch ../memory.h
# list of files with optional dependcies

View File

@ -433,6 +433,7 @@ void FixShardlowKokkos<DeviceType>::ssa_update_dpd(
------------------------------------------------------------------------- */
template<class DeviceType>
template<bool STACKPARAMS>
KOKKOS_INLINE_FUNCTION
void FixShardlowKokkos<DeviceType>::ssa_update_dpde(
int start_ii, int count, int id
)

View File

@ -124,6 +124,7 @@ class FixShardlowKokkos : public FixShardlow {
// template<bool STACKPARAMS>
// void ssa_update_dpd(int, int); // Constant Temperature
template<bool STACKPARAMS>
KOKKOS_INLINE_FUNCTION
void ssa_update_dpde(int, int, int); // Constant Energy
};