Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add taskflow #67

Closed
wants to merge 16 commits into from
Closed

Add taskflow #67

wants to merge 16 commits into from

Conversation

mdcoury
Copy link
Contributor

@mdcoury mdcoury commented Dec 6, 2022

No description provided.

@mdcoury mdcoury marked this pull request as draft December 6, 2022 03:46
@mdcoury
Copy link
Contributor Author

mdcoury commented Dec 6, 2022

"make all" seems to succeed about 75% of the time, but the rest causes a seg-fault

.circleci/config.yml Outdated Show resolved Hide resolved
dwave/preprocessing/include/dwave/presolve.hpp Outdated Show resolved Hide resolved
@@ -148,6 +156,10 @@ class Presolver {
const Postsolver<bias_type, index_type, assignment_type>& postsolver() const;

private:
tf::Taskflow taskflowOneTime_;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why break these into three rather than one big flow?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's mostly for a logical separation of the 3 different "types" of techniques. I'll do some more reading on the pros/cons and leave a note in the code either way.

dwave/preprocessing/include/dwave/presolve.hpp Outdated Show resolved Hide resolved
@mdcoury mdcoury closed this Dec 9, 2022
@mdcoury
Copy link
Contributor Author

mdcoury commented Dec 9, 2022

Splitting changes into distinct PRs

@mdcoury mdcoury deleted the add_taskflow branch December 19, 2022 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants