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
e6bd8433
Commit
e6bd8433
authored
Nov 18, 2009
by
Mark Friedrichs
Browse files
Added extern' to SetCalculateLocalSoftcoreGpuSim definition
parent
98c26853
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
18 deletions
+8
-18
plugins/freeEnergy/openmmapi/include/openmm/freeEnergyKernels.h
...s/freeEnergy/openmmapi/include/openmm/freeEnergyKernels.h
+6
-3
plugins/freeEnergy/platforms/cuda/src/kernels/GpuFreeEnergyCudaKernels.h
...rgy/platforms/cuda/src/kernels/GpuFreeEnergyCudaKernels.h
+0
-5
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateGBVISoftcoreBornSum.cu
...atforms/cuda/src/kernels/kCalculateGBVISoftcoreBornSum.cu
+1
-9
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateLocalSoftcoreForces.cu
...atforms/cuda/src/kernels/kCalculateLocalSoftcoreForces.cu
+1
-1
No files found.
plugins/freeEnergy/openmmapi/include/openmm/freeEnergyKernels.h
View file @
e6bd8433
...
...
@@ -32,10 +32,13 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
#include "openmm/GBSAOBCSoftcoreForce.h"
#include "openmm/GBVISoftcoreForce.h"
//#include "openmm/GBSAOBCSoftcoreForce.h"
#include "GBSAOBCSoftcoreForce.h"
//#include "openmm/GBVISoftcoreForce.h"
#include "GBVISoftcoreForce.h"
#include "openmm/NonbondedForce.h"
#include "openmm/NonbondedSoftcoreForce.h"
//#include "openmm/NonbondedSoftcoreForce.h"
#include "NonbondedSoftcoreForce.h"
#include "openmm/System.h"
#include "openmm/KernelImpl.h"
#include <set>
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/GpuFreeEnergyCudaKernels.h
View file @
e6bd8433
...
...
@@ -88,11 +88,6 @@ GpuGBVISoftcore* gpuSetGBVISoftcoreParameters(gpuContext gpu, float innerDielect
const
std
::
vector
<
float
>&
gamma
,
const
std
::
vector
<
float
>&
scaledRadii
,
const
std
::
vector
<
float
>&
bornRadiusScaleFactors
,
const
std
::
vector
<
float
>&
quinticSplineParameters
);
// delete supplemtentary objects, ...
extern
"C"
void
gpuDeleteGBVISoftcoreParameters
(
void
*
gpuNonbondedSoftcore
);
// write address's to device
extern
"C"
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateGBVISoftcoreBornSum.cu
View file @
e6bd8433
...
...
@@ -157,14 +157,6 @@ gpu->psObcData->Upload();
}
// delete gpuGBVISoftcore
extern
"C"
void
gpuDeleteGBVISoftcoreParameters
(
void
*
gpuGBVISoftcore
)
{
delete
gpuGBVISoftcore
;
}
struct
Atom
{
float
x
;
float
y
;
...
...
@@ -518,7 +510,7 @@ void kCalculateGBVISoftcoreBornSum(gpuContext gpu)
kClearGBVISoftcoreBornSum
(
gpu
);
LAUNCHERROR
(
"kClearGBVIBornSum from kCalculateGBVISoftcoreBornSum"
);
size_t
numWithInteractions
;
//
size_t numWithInteractions;
switch
(
gpu
->
sim
.
nonbondedMethod
)
{
case
NO_CUTOFF
:
...
...
plugins/freeEnergy/platforms/cuda/src/kernels/kCalculateLocalSoftcoreForces.cu
View file @
e6bd8433
...
...
@@ -95,7 +95,7 @@ static __constant__ cudaFreeEnergySimulationNonbonded14 feSim;
angle
=
(
dp
>=
0
)
?
angle
:
-
angle
;
\
}
void
SetCalculateLocalSoftcoreGpuSim
(
gpuContext
gpu
)
extern
"C"
void
SetCalculateLocalSoftcoreGpuSim
(
gpuContext
gpu
)
{
cudaError_t
status
;
status
=
cudaMemcpyToSymbol
(
cSim
,
&
gpu
->
sim
,
sizeof
(
cudaGmxSimulation
));
...
...
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