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 HDP flush for gfx940 #1434

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from
Open

Add HDP flush for gfx940 #1434

wants to merge 9 commits into from

Conversation

wenkaidu
Copy link
Collaborator

@wenkaidu wenkaidu commented Nov 26, 2024

Details

Do not mention proprietary info or link to internal work items in this PR.

Work item: "Internal", or link to GitHub issue (if applicable).
Internal

What were the changes?
Add HDP flush for gfx940

Why were the changes made?
Avoid potential data corruption

How was the outcome achieved?
Add HDP flush for gfx940

Additional Documentation:

Approval Checklist

Do not approve until these items are satisfied.

  • Verify the CHANGELOG has been updated, if
    • there are any NCCL API version changes,
    • any changes impact library users, and/or
    • any changes impact any other ROCm library.

Copy link
Contributor

@thananon thananon left a comment

Choose a reason for hiding this comment

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

If this is what I think it is doing, then it looks good to me.

General question, why was it done the other way before this PR?

@wenkaidu
Copy link
Collaborator Author

If this is what I think it is doing, then it looks good to me.

General question, why was it done the other way before this PR?

It was all about saving a micro-second when possible. I need to convert it back to draft as testing is still ongoing

@wenkaidu wenkaidu marked this pull request as draft November 27, 2024 21:41
@wenkaidu wenkaidu force-pushed the threadfence branch 2 times, most recently from 447ab5c to 40f7bd1 Compare December 17, 2024 17:40
@wenkaidu wenkaidu changed the title Add threadfence for gfx940 Add HDP flush for gfx940 Dec 19, 2024
@wenkaidu wenkaidu marked this pull request as ready for review December 20, 2024 00:10
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