Add missing CUDA_CALLABLE annotation

This commit is contained in:
Alex Selimov 2025-09-04 21:00:13 -04:00
parent dc74e4e5c0
commit 7f04ae793a
Signed by: aselimov
GPG key ID: 3DDB9C3E023F1F31

View file

@ -32,7 +32,7 @@ struct ForceAndEnergy {
struct PairPotential { struct PairPotential {
real m_rcutoffsq; real m_rcutoffsq;
PairPotential(real rcutoff) : m_rcutoffsq(rcutoff * rcutoff) {}; CUDA_CALLABLE PairPotential(real rcutoff) : m_rcutoffsq(rcutoff * rcutoff) {};
#ifdef __CUDACC__ #ifdef __CUDACC__
CUDA_CALLABLE ~PairPotential(); CUDA_CALLABLE ~PairPotential();
#else #else