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
dea16a26
"...ssh:/git@developer.sourcefind.cn:2222/tsoc/openmm.git" did not exist on "68eb50bd3cbb669fef8ce8e65d976209297f5fa4"
Unverified
Commit
dea16a26
authored
Jul 11, 2018
by
peastman
Committed by
GitHub
Jul 11, 2018
Browse files
Merge pull request #2118 from peastman/bug
Bug fix
parents
fd569d79
cb537d57
Changes
1
Hide 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 @
dea16a26
...
@@ -7331,7 +7331,7 @@ string CudaIntegrateCustomStepKernel::createPerDofComputation(const string& vari
...
@@ -7331,7 +7331,7 @@ string CudaIntegrateCustomStepKernel::createPerDofComputation(const string& vari
variables["m"] = "mass";
variables["m"] = "mass";
variables["dt"] = "stepSize";
variables["dt"] = "stepSize";
if (energyName != "")
if (energyName != "")
variables[energyName] = "energy";
variables[energyName] = "
make_double3(
energy
)
";
for (int i = 0; i < integrator.getNumGlobalVariables(); i++)
for (int i = 0; i < integrator.getNumGlobalVariables(); i++)
variables[integrator.getGlobalVariableName(i)] = "make_double3(globals["+cu.intToString(globalVariableIndex[i])+"])";
variables[integrator.getGlobalVariableName(i)] = "make_double3(globals["+cu.intToString(globalVariableIndex[i])+"])";
for (int i = 0; i < integrator.getNumPerDofVariables(); i++)
for (int i = 0; i < integrator.getNumPerDofVariables(); i++)
...
...
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