Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
8fc504ed
Commit
8fc504ed
authored
Nov 19, 2009
by
Mark Friedrichs
Browse files
Missing include file
parent
e6bd8433
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateLocalSoftcoreForces.cu
...atforms/cuda/src/kernels/kCalculateLocalSoftcoreForces.cu
+3
-3
No files found.
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateLocalSoftcoreForces.cu
View file @
8fc504ed
...
...
@@ -25,7 +25,7 @@
* -------------------------------------------------------------------------- */
#include "GpuLJ14Softcore.h"
#include
<cuda
.h
>
#include
"GpuFreeEnergyCudaKernels
.h
"
static
__constant__
cudaGmxSimulation
cSim
;
static
__constant__
cudaFreeEnergySimulationNonbonded14
feSim
;
...
...
@@ -95,11 +95,11 @@ static __constant__ cudaFreeEnergySimulationNonbonded14 feSim;
angle
=
(
dp
>=
0
)
?
angle
:
-
angle
;
\
}
extern
"C"
void
SetCalculateLocalSoftcoreGpuSim
(
gpuContext
gpu
)
void
SetCalculateLocalSoftcoreGpuSim
(
gpuContext
gpu
)
{
cudaError_t
status
;
status
=
cudaMemcpyToSymbol
(
cSim
,
&
gpu
->
sim
,
sizeof
(
cudaGmxSimulation
));
RTERROR
(
status
,
"cudaMemcpyToSymbol: SetCalculateLocalSoftcore
Forces
Sim copy to cSim failed"
);
RTERROR
(
status
,
"cudaMemcpyToSymbol: SetCalculateLocalSoftcore
Gpu
Sim copy to cSim failed"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment