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
69d3772b
"openmmapi/vscode:/vscode.git/clone" did not exist on "403b259599637f5fc2f6f23723149536b26b34e4"
Unverified
Commit
69d3772b
authored
Feb 16, 2022
by
Peter Eastman
Committed by
GitHub
Feb 16, 2022
Browse files
Don't use compareInt2LargeSIMD() with no cutoff (#3464)
parent
21072f26
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/opencl/src/OpenCLNonbondedUtilities.cpp
platforms/opencl/src/OpenCLNonbondedUtilities.cpp
+1
-1
No files found.
platforms/opencl/src/OpenCLNonbondedUtilities.cpp
View file @
69d3772b
...
...
@@ -227,7 +227,7 @@ void OpenCLNonbondedUtilities::initialize(const System& system) {
vector
<
mm_int2
>
exclusionTilesVec
;
for
(
set
<
pair
<
int
,
int
>
>::
const_iterator
iter
=
tilesWithExclusions
.
begin
();
iter
!=
tilesWithExclusions
.
end
();
++
iter
)
exclusionTilesVec
.
push_back
(
mm_int2
(
iter
->
first
,
iter
->
second
));
sort
(
exclusionTilesVec
.
begin
(),
exclusionTilesVec
.
end
(),
context
.
getSIMDWidth
()
<=
32
?
compareInt2
:
compareInt2LargeSIMD
);
sort
(
exclusionTilesVec
.
begin
(),
exclusionTilesVec
.
end
(),
context
.
getSIMDWidth
()
<=
32
||
!
useCutoff
?
compareInt2
:
compareInt2LargeSIMD
);
exclusionTiles
.
initialize
<
mm_int2
>
(
context
,
exclusionTilesVec
.
size
(),
"exclusionTiles"
);
exclusionTiles
.
upload
(
exclusionTilesVec
);
map
<
pair
<
int
,
int
>
,
int
>
exclusionTileMap
;
...
...
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