Add missing CUDA_CALLABLE annotation
This commit is contained in:
parent
dc74e4e5c0
commit
7f04ae793a
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ struct ForceAndEnergy {
|
|||
struct PairPotential {
|
||||
real m_rcutoffsq;
|
||||
|
||||
PairPotential(real rcutoff) : m_rcutoffsq(rcutoff * rcutoff) {};
|
||||
CUDA_CALLABLE PairPotential(real rcutoff) : m_rcutoffsq(rcutoff * rcutoff) {};
|
||||
#ifdef __CUDACC__
|
||||
CUDA_CALLABLE ~PairPotential();
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue