File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 30
30
31
31
#include " electrostatics/coulomb.hpp"
32
32
#include " electrostatics/elc.hpp"
33
+
34
+ #ifdef CUDA
33
35
#include " electrostatics/p3m_gpu_cuda.cuh"
34
36
#include " electrostatics/p3m_gpu_error.hpp"
37
+ #endif // CUDA
35
38
36
39
#include " fft/fft.hpp"
37
40
#include " p3m/TuningAlgorithm.hpp"
@@ -851,6 +854,7 @@ void CoulombP3M::scaleby_box_l() {
851
854
calc_influence_function_energy ();
852
855
}
853
856
857
+ #ifdef CUDA
854
858
template <typename FloatType, Arch Architecture>
855
859
void CoulombP3MImpl<FloatType, Architecture>::add_long_range_forces_gpu(
856
860
ParticleRange const &particles) {
@@ -898,6 +902,7 @@ void CoulombP3MImpl<FloatType, Architecture>::request_gpu() const {
898
902
gpu_particle_data.enable_property (GpuParticleData::prop::pos);
899
903
}
900
904
}
905
+ #endif // CUDA
901
906
902
907
template struct CoulombP3MImpl <float , Arch::CPU>;
903
908
template struct CoulombP3MImpl <float , Arch::GPU>;
You can’t perform that action at this time.
0 commit comments