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
c2d9cc7b
"tests/TestCustomNonbondedForce.h" did not exist on "b2af59a8534d8c0c77d469ba09576985785eed64"
Commit
c2d9cc7b
authored
Apr 24, 2026
by
one
Browse files
Avoid host wait in PME post-sync
parent
c1d643e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
platforms/common/src/CommonCalcNonbondedForce.cpp
platforms/common/src/CommonCalcNonbondedForce.cpp
+3
-1
No files found.
platforms/common/src/CommonCalcNonbondedForce.cpp
View file @
c2d9cc7b
...
...
@@ -194,7 +194,9 @@ public:
}
double
computeForceAndEnergy
(
bool
includeForces
,
bool
includeEnergy
,
int
groups
)
{
if
((
groups
&
(
1
<<
forceGroup
))
!=
0
)
{
event
->
wait
();
// Keep the dependency on reciprocal-space work, but avoid stalling the host
// when the default queue can wait for the PME queue asynchronously.
event
->
queueWait
(
cc
.
getCurrentQueue
());
if
(
includeEnergy
)
addEnergyKernel
->
execute
(
pmeEnergyBuffer
.
getSize
());
}
...
...
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