From 7f04ae793a1c834e1309a550ed0baf86df05abaa Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Thu, 4 Sep 2025 21:00:13 -0400 Subject: [PATCH] Add missing CUDA_CALLABLE annotation --- kernels/pair_potentials.cuh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernels/pair_potentials.cuh b/kernels/pair_potentials.cuh index d5d8566..d6c97ac 100644 --- a/kernels/pair_potentials.cuh +++ b/kernels/pair_potentials.cuh @@ -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