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
63819881
Commit
63819881
authored
Nov 02, 2011
by
Peter Eastman
Browse files
Fixed some incorrect argument indices
parent
358ce20f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
platforms/opencl/src/OpenCLNonbondedUtilities.cpp
platforms/opencl/src/OpenCLNonbondedUtilities.cpp
+2
-2
No files found.
platforms/opencl/src/OpenCLNonbondedUtilities.cpp
View file @
63819881
...
@@ -369,8 +369,8 @@ void OpenCLNonbondedUtilities::setTileRange(int startTileIndex, int numTiles) {
...
@@ -369,8 +369,8 @@ void OpenCLNonbondedUtilities::setTileRange(int startTileIndex, int numTiles) {
this
->
numTiles
=
numTiles
;
this
->
numTiles
=
numTiles
;
if
(
cutoff
==
-
1.0
)
if
(
cutoff
==
-
1.0
)
return
;
// There are no nonbonded interactions in the System.
return
;
// There are no nonbonded interactions in the System.
forceKernel
.
setArg
<
cl_uint
>
(
8
,
startTileIndex
);
forceKernel
.
setArg
<
cl_uint
>
(
7
,
startTileIndex
);
forceKernel
.
setArg
<
cl_uint
>
(
9
,
startTileIndex
+
numTiles
);
forceKernel
.
setArg
<
cl_uint
>
(
8
,
startTileIndex
+
numTiles
);
if
(
useCutoff
)
{
if
(
useCutoff
)
{
findInteractingBlocksKernel
.
setArg
<
cl_uint
>
(
10
,
startTileIndex
);
findInteractingBlocksKernel
.
setArg
<
cl_uint
>
(
10
,
startTileIndex
);
findInteractingBlocksKernel
.
setArg
<
cl_uint
>
(
11
,
startTileIndex
+
numTiles
);
findInteractingBlocksKernel
.
setArg
<
cl_uint
>
(
11
,
startTileIndex
+
numTiles
);
...
...
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