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
f477b106
"test/vscode:/vscode.git/clone" did not exist on "42c7cdad7970039d236aab837b283aaf72655d3b"
Unverified
Commit
f477b106
authored
Nov 15, 2021
by
Peter Eastman
Committed by
GitHub
Nov 15, 2021
Browse files
Fixed an inconsistency in data type (#3330)
parent
fd1cfdd6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/cuda/src/CudaKernels.cpp
platforms/cuda/src/CudaKernels.cpp
+1
-1
No files found.
platforms/cuda/src/CudaKernels.cpp
View file @
f477b106
...
...
@@ -1146,7 +1146,7 @@ double CudaCalcNonbondedForceKernel::execute(ContextImpl& context, bool includeF
}
double
energy
=
(
includeReciprocal
?
ewaldSelfEnergy
:
0.0
);
if
(
recomputeParams
||
hasOffsets
)
{
bool
computeSelfEnergy
=
(
includeEnergy
&&
includeReciprocal
);
int
computeSelfEnergy
=
(
includeEnergy
&&
includeReciprocal
);
int
numAtoms
=
cu
.
getPaddedNumAtoms
();
vector
<
void
*>
paramsArgs
=
{
&
cu
.
getEnergyBuffer
().
getDevicePointer
(),
&
computeSelfEnergy
,
&
globalParams
.
getDevicePointer
(),
&
numAtoms
,
&
baseParticleParams
.
getDevicePointer
(),
&
cu
.
getPosq
().
getDevicePointer
(),
&
charges
.
getDevicePointer
(),
&
sigmaEpsilon
.
getDevicePointer
(),
...
...
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