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
d0d66f30
"...src/SimTKReference/ReferenceCustomTorsionIxn.cpp" did not exist on "6186c0679e4eefaab8630c7a70c2d8f6dfeeb08f"
Commit
d0d66f30
authored
Aug 01, 2019
by
peastman
Browse files
Fixed error related to autoclear buffers on OpenCL
parent
30d72a5c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/opencl/src/OpenCLContext.cpp
platforms/opencl/src/OpenCLContext.cpp
+1
-1
No files found.
platforms/opencl/src/OpenCLContext.cpp
View file @
d0d66f30
...
@@ -729,7 +729,7 @@ void OpenCLContext::clearAutoclearBuffers() {
...
@@ -729,7 +729,7 @@ void OpenCLContext::clearAutoclearBuffers() {
executeKernel
(
clearTwoBuffersKernel
,
max
(
autoclearBufferSizes
[
base
],
autoclearBufferSizes
[
base
+
1
]),
128
);
executeKernel
(
clearTwoBuffersKernel
,
max
(
autoclearBufferSizes
[
base
],
autoclearBufferSizes
[
base
+
1
]),
128
);
}
}
else
if
(
total
-
base
==
1
)
{
else
if
(
total
-
base
==
1
)
{
clearBuffer
(
*
autoclearBuffers
[
base
],
autoclearBufferSizes
[
base
]);
clearBuffer
(
*
autoclearBuffers
[
base
],
autoclearBufferSizes
[
base
]
*
4
);
}
}
}
}
...
...
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