Commit 03971a7f authored by Victor Lopez's avatar Victor Lopez

Compute VectorReductions only in OmpSs

parent e11875c7
......@@ -518,8 +518,10 @@ void WorkDescriptor::waitCompletion( bool avoidFlush )
removeAllTaskReductions();
myThread->getTeam()->computeVectorReductions();
myThread->getTeam()->cleanUpReductionList();
if ( sys.getPMInterface().isOmpSs() ) {
myThread->getTeam()->computeVectorReductions();
myThread->getTeam()->cleanUpReductionList();
}
_depsDomain->clearDependenciesDomain();
}
......
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