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
0cb87771
"plugins/amoeba/vscode:/vscode.git/clone" did not exist on "9e4b043fa8422cc4271cfda1090297f2fa2d982c"
Commit
0cb87771
authored
Jan 28, 2010
by
Peter Eastman
Browse files
Bug fix
parent
e8566500
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
platforms/cuda/src/kernels/kCalculateCustomBondForces.cu
platforms/cuda/src/kernels/kCalculateCustomBondForces.cu
+1
-1
platforms/cuda/src/kernels/kCalculateCustomExternalForces.cu
platforms/cuda/src/kernels/kCalculateCustomExternalForces.cu
+1
-1
No files found.
platforms/cuda/src/kernels/kCalculateCustomBondForces.cu
View file @
0cb87771
...
...
@@ -128,6 +128,6 @@ void kCalculateCustomBondForces(gpuContext gpu)
{
// printf("kCalculateCustomBondForces\n");
kCalculateCustomBondForces_kernel
<<<
gpu
->
sim
.
blocks
,
gpu
->
sim
.
localForces_threads_per_block
,
gpu
->
sim
.
customExpressionStackSize
*
sizeof
(
float
)
*
gpu
->
sim
.
localForces_threads_per_block
>>>
();
(
gpu
->
sim
.
customExpressionStackSize
+
9
)
*
sizeof
(
float
)
*
gpu
->
sim
.
localForces_threads_per_block
>>>
();
LAUNCHERROR
(
"kCalculateCustomBondForces"
);
}
platforms/cuda/src/kernels/kCalculateCustomExternalForces.cu
View file @
0cb87771
...
...
@@ -116,6 +116,6 @@ void kCalculateCustomExternalForces(gpuContext gpu)
{
// printf("kCalculateCustomExternalForces\n");
kCalculateCustomExternalForces_kernel
<<<
gpu
->
sim
.
blocks
,
gpu
->
sim
.
localForces_threads_per_block
,
gpu
->
sim
.
customExpressionStackSize
*
sizeof
(
float
)
*
gpu
->
sim
.
localForces_threads_per_block
>>>
();
(
gpu
->
sim
.
customExpressionStackSize
+
9
)
*
sizeof
(
float
)
*
gpu
->
sim
.
localForces_threads_per_block
>>>
();
LAUNCHERROR
(
"kCalculateCustomExternalForces"
);
}
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