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

Move Byrnes' parallel OptSched to main repo #182

Merged
merged 6 commits into from
Aug 31, 2024

Conversation

Sanguine-Choleric
Copy link

Mainly adds changes made by @jrbyrnes personal repo to the main repo's parallel BnB branch
This also includes some work on upgrading ROCm 4.5.2 to 5.4.1.
This also addresses a missed edge case in the custom linked list implementation

- LLVM 15.0.0 library changes
- Updated hardcoded register names
- `PriorityList::BoostEntry` can call `LinkedList::RmvEntry_`, removing the head of the priority list without correctly setting `wasTopRmved_` flag
- This can lead to other methods incorrectly handling a null `rtrvEntry_`, as null checks depend on `wasTopRmved_`, leading to a crash
- Changes include adding correct flag setting directly to `LinkedList::RmvEntry_` and asserts to methods that previously didn't handle a null `rtrvEntry_`.
Copy link
Contributor

@jrbyrnes jrbyrnes left a comment

Choose a reason for hiding this comment

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

I see you deleted some old commented code -- thanks for that. The end goal is to delete all existing commented code. Can you please not add commented code

include/opt-sched/Scheduler/lnkd_lst.h Show resolved Hide resolved
include/opt-sched/Scheduler/lnkd_lst.h Outdated Show resolved Hide resolved
include/opt-sched/Scheduler/ready_list.h Outdated Show resolved Hide resolved
include/opt-sched/Scheduler/lnkd_lst.h Outdated Show resolved Hide resolved
lib/Scheduler/machine_model.cpp Show resolved Hide resolved
lib/Scheduler/ready_list.cpp Outdated Show resolved Hide resolved
lib/Scheduler/ready_list.cpp Outdated Show resolved Hide resolved
lib/Scheduler/ready_list.cpp Outdated Show resolved Hide resolved
lib/Scheduler/ready_list.cpp Outdated Show resolved Hide resolved
lib/Scheduler/ready_list.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@jrbyrnes jrbyrnes left a comment

Choose a reason for hiding this comment

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

LGTM

@jrbyrnes
Copy link
Contributor

jrbyrnes commented Aug 30, 2024

I still think we should bring back UnitTest infrastructure, but that is separate work

@Sanguine-Choleric Sanguine-Choleric merged commit 6f3c68c into parallelBB Aug 31, 2024
@Sanguine-Choleric Sanguine-Choleric deleted the parallelNewAMD branch September 3, 2024 16:38
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