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

Remove legacy sync path #19714

Merged
merged 3 commits into from
Jan 16, 2025
Merged

Remove legacy sync path #19714

merged 3 commits into from
Jan 16, 2025

Conversation

rsuderman
Copy link
Contributor

This removes all the needless blocking operations that were occurring on hip. Removal should boost speed and allow multi device parallelism.

@rsuderman rsuderman requested a review from benvanik as a code owner January 15, 2025 21:42
@rsuderman rsuderman linked an issue Jan 15, 2025 that may be closed by this pull request
@rsuderman rsuderman requested a review from kuhar as a code owner January 15, 2025 22:00
@rsuderman rsuderman requested a review from ScottTodd January 15, 2025 22:05
This removes all the needless blocking operations that were occurring on
hip. Removal should boost speed and allow multi device parallelism.
struct ROCMOptions {
std::string target = "";
std::string targetFeatures = "";
std::string bitcodeDirectory = getDefaultBitcodeDirectory();
int wavesPerEu = 0;
std::string enableROCMUkernels = "none";
bool legacySync = true;
Copy link
Member

Choose a reason for hiding this comment

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

Digging through history:

@benvanik @nithinsubbiah does that sound right?

So I think we're ready for this now? All tests seem to be passing.

@kuhar kuhar requested a review from AWoloszyn January 16, 2025 01:48
@AWoloszyn
Copy link
Contributor

So my main comment here is that the hip backend still "technically" supports inline execution.
I would love to see it gone, as it has completely different semantics to our normal HAL apis, and we have re-usable command buffers now.

Copy link
Collaborator

@benvanik benvanik left a comment

Choose a reason for hiding this comment

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

woohoo! have been trying to delete this for ages!

@rsuderman rsuderman merged commit 3e8c81c into iree-org:main Jan 16, 2025
37 checks passed
@ScottTodd ScottTodd mentioned this pull request Feb 4, 2025
6 tasks
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.

Support asynchronous multi hip device execution
4 participants