From e11875c7962869374d42682653d847bee515fcde Mon Sep 17 00:00:00 2001 From: Victor Lopez Date: Tue, 10 Jul 2018 12:18:35 +0200 Subject: [PATCH] Compute worksharing reductions on a taskwait. Fix #1245 --- src/core/workdescriptor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/workdescriptor.cpp b/src/core/workdescriptor.cpp index 6501285d2..0cc61020c 100644 --- a/src/core/workdescriptor.cpp +++ b/src/core/workdescriptor.cpp @@ -518,6 +518,9 @@ void WorkDescriptor::waitCompletion( bool avoidFlush ) removeAllTaskReductions(); + myThread->getTeam()->computeVectorReductions(); + myThread->getTeam()->cleanUpReductionList(); + _depsDomain->clearDependenciesDomain(); } -- GitLab