Merge pull request #15 from ibaned/cuda-compile

add missing KOKKOS_INLINE_FUNCTION to fix_shardlow
This commit is contained in:
Stan Moore
2017-03-06 11:05:49 -07:00
committed by GitHub
2 changed files with 2 additions and 0 deletions

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
};