Skip to content

Commit

Permalink
HyFD-multithread: fix MaxLHS option
Browse files Browse the repository at this point in the history
Use MakeExecuteOptsAvailableFDInternal()
instead of MakeExecuteOptsAvailable()
  • Loading branch information
Vdaleke authored and chernishev committed Jan 15, 2025
1 parent 00910d6 commit d56f3e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/algorithms/fd/hyfd/hyfd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ HyFD::HyFD(std::optional<ColumnLayoutRelationDataManager> relation_manager)
RegisterOption(config::kThreadNumberOpt(&threads_num_));
}

void HyFD::MakeExecuteOptsAvailable() {
void HyFD::MakeExecuteOptsAvailableFDInternal() {
MakeOptionsAvailable({config::names::kThreads});
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/algorithms/fd/hyfd/hyfd.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class HyFD : public PliBasedFDAlgorithm {

void RegisterFDs(std::vector<RawFD>&& fds, std::vector<algos::hy::ClusterId> const& og_mapping);

void MakeExecuteOptsAvailable() override;
void MakeExecuteOptsAvailableFDInternal() override;

config::ThreadNumType threads_num_ = 1;

Expand Down

0 comments on commit d56f3e1

Please sign in to comment.