Skip to content

Commit

Permalink
fix(FLOWS): 🐛 turn off parallel hyperedge detection for graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
RoKra99 committed Jun 29, 2024
1 parent f4d7a1e commit c629e06
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ FlowProblem ParallelConstruction<GraphAndGainTypes>::constructDefault(const Part
const PartitionID block_1,
vec<HypernodeID>& whfc_to_node,
const bool deterministic) {
if (deterministic) {
if (deterministic && _context.partition.instance_type == InstanceType::hypergraph) {
return constructDefaultDeterministic(phg, sub_hg, block_0, block_1, whfc_to_node);
}
ASSERT(block_0 != kInvalidPartition && block_1 != kInvalidPartition);
Expand Down Expand Up @@ -586,7 +586,7 @@ FlowProblem ParallelConstruction<GraphAndGainTypes>::constructOptimizedForLargeH
const PartitionID block_1,
vec<HypernodeID>& whfc_to_node,
const bool deterministic) {
if (deterministic) {
if (deterministic && _context.partition.instance_type == InstanceType::hypergraph) {
constructOptimizedForLargeHEsDeterministic(phg, sub_hg, block_0, block_1, whfc_to_node);
}
ASSERT(block_0 != kInvalidPartition && block_1 != kInvalidPartition);
Expand Down

0 comments on commit c629e06

Please sign in to comment.