Unverified Commit 0aee8050 authored by one's avatar one Committed by GitHub
Browse files

Avoid host wait for PME post-computation synchronization (#5271)

* Avoid host wait when synchronizing PME queue

* Remove comment
parent 46376ea3
......@@ -194,7 +194,7 @@ public:
}
double computeForceAndEnergy(bool includeForces, bool includeEnergy, int groups) {
if ((groups&(1<<forceGroup)) != 0) {
event->wait();
event->queueWait(cc.getCurrentQueue());
if (includeEnergy)
addEnergyKernel->execute(pmeEnergyBuffer.getSize());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment