add missing KOKKOS_INLINE_FUNCTION to fix_shardlow
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
)
|
||||
|
||||
@ -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
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user