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
ebfcfe24
Commit
ebfcfe24
authored
Jan 13, 2010
by
Peter Eastman
Browse files
Don't test for interaction flags on platforms where we don't use them.
parent
dec115db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
15 deletions
+17
-15
platforms/opencl/tests/TestOpenCLNonbondedForce.cpp
platforms/opencl/tests/TestOpenCLNonbondedForce.cpp
+17
-15
No files found.
platforms/opencl/tests/TestOpenCLNonbondedForce.cpp
View file @
ebfcfe24
...
@@ -553,6 +553,7 @@ void testBlockInteractions(bool periodic) {
...
@@ -553,6 +553,7 @@ void testBlockInteractions(bool periodic) {
// Check the interaction flags.
// Check the interaction flags.
if
(
clcontext
.
getSIMDWidth
()
==
32
)
{
unsigned
int
flags
=
interactionFlags
[
i
];
unsigned
int
flags
=
interactionFlags
[
i
];
for
(
int
atom2
=
0
;
atom2
<
32
;
atom2
++
)
{
for
(
int
atom2
=
0
;
atom2
<
32
;
atom2
++
)
{
if
((
flags
&
1
)
==
0
)
{
if
((
flags
&
1
)
==
0
)
{
...
@@ -573,6 +574,7 @@ void testBlockInteractions(bool periodic) {
...
@@ -573,6 +574,7 @@ void testBlockInteractions(bool periodic) {
flags
>>=
1
;
flags
>>=
1
;
}
}
}
}
}
// Check the tiles that did not have interactions to make sure all atoms are beyond the cutoff.
// Check the tiles that did not have interactions to make sure all atoms are beyond the cutoff.
...
...
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