File tree Expand file tree Collapse file tree
include/osp/bsp/scheduler/GreedySchedulers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -388,14 +388,7 @@ class GrowLocalAutoCoresParallel : public Scheduler<GraphT> {
388388 }
389389 }
390390
391- VertexType succIndex;
392- if constexpr (hasVerticesInTopOrderV<GraphT>) {
393- succIndex = succ - startNode;
394- } else {
395- succIndex = posInTopOrder[succ] - startNode;
396- }
397-
398- ++predec[succIndex];
391+ schedule.SetAssignedProcessor (succ, UINT_MAX);
399392 }
400393 }
401394 }
@@ -419,7 +412,14 @@ class GrowLocalAutoCoresParallel : public Scheduler<GraphT> {
419412 }
420413 }
421414
422- schedule.SetAssignedProcessor (succ, UINT_MAX);
415+ VertexType succIndex;
416+ if constexpr (hasVerticesInTopOrderV<GraphT>) {
417+ succIndex = succ - startNode;
418+ } else {
419+ succIndex = posInTopOrder[succ] - startNode;
420+ }
421+
422+ ++predec[succIndex];
423423 }
424424 }
425425 }
You can’t perform that action at this time.
0 commit comments