File tree Expand file tree Collapse file tree
include/opdi/backend/macro Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,8 @@ namespace opdi {
5757 }
5858 ReductionTools::reductionBarrierStack.pop ();
5959 if (ProbeScopeStatus::insideImplicitTaskProbeScope ()) {
60+ logic->onSyncRegion (LogicInterface::SyncRegionKind::BarrierImplementation,
61+ LogicInterface::ScopeEndpoint::Begin);
6062 #pragma omp barrier
6163 logic->onSyncRegion (LogicInterface::SyncRegionKind::BarrierImplementation,
6264 LogicInterface::ScopeEndpoint::End);
@@ -72,6 +74,8 @@ namespace opdi {
7274 #else
7375 logic->onSyncRegion (LogicInterface::SyncRegionKind::BarrierImplementation,
7476 LogicInterface::ScopeEndpoint::Begin);
77+ logic->onSyncRegion (LogicInterface::SyncRegionKind::BarrierImplementation,
78+ LogicInterface::ScopeEndpoint::End);
7579 #endif
7680 }
7781 ReductionTools::reductionBarrierStack.top () = true ;
You can’t perform that action at this time.
0 commit comments