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
5a946c29
Commit
5a946c29
authored
Nov 02, 2011
by
Peter Eastman
Browse files
Correction to the previous optimization
parent
7e544edd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/opencl/src/kernels/nonbonded_default.cl
platforms/opencl/src/kernels/nonbonded_default.cl
+1
-1
No files found.
platforms/opencl/src/kernels/nonbonded_default.cl
View file @
5a946c29
...
...
@@ -70,7 +70,7 @@ void computeNonbonded(__global float4* restrict forceBuffers, __global float* re
if (get_local_id(0) == 0)
exclusionIndex[0] = -1;
barrier(CLK_LOCAL_MEM_FENCE);
for (int i = exclusionRange[0]+get_local_id(0); i < exclusionRange[1]; i +=
TILE
_SIZE)
for (int i = exclusionRange[0]+get_local_id(0); i < exclusionRange[1]; i +=
FORCE_WORK_GROUP
_SIZE)
if (exclusionIndices[i] == y)
exclusionIndex[0] = i*TILE_SIZE;
barrier(CLK_LOCAL_MEM_FENCE);
...
...
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