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
e813e19f
Unverified
Commit
e813e19f
authored
Oct 04, 2019
by
peastman
Committed by
GitHub
Oct 04, 2019
Browse files
Merge pull request #2418 from peastman/triclinic
Fixed error in #2416
parents
f4080faa
f144dee2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
platforms/cuda/src/kernels/findInteractingBlocks.cu
platforms/cuda/src/kernels/findInteractingBlocks.cu
+2
-0
No files found.
platforms/cuda/src/kernels/findInteractingBlocks.cu
View file @
e813e19f
...
...
@@ -273,9 +273,11 @@ extern "C" __global__ void findBlocksWithInteractions(real4 periodicBoxSize, rea
// Loop over any blocks we identified as potentially containing neighbors.
int
includeBlockFlags
=
BALLOT
(
includeBlock2
);
int
forceIncludeFlags
=
BALLOT
(
forceInclude
);
while
(
includeBlockFlags
!=
0
)
{
int
i
=
__ffs
(
includeBlockFlags
)
-
1
;
includeBlockFlags
&=
includeBlockFlags
-
1
;
forceInclude
=
(
forceIncludeFlags
>>
i
)
&
1
;
unsigned
short
y
=
(
unsigned
short
)
sortedBlocks
[
block2Base
+
i
].
y
;
// Check each atom in block Y for interactions.
...
...
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