Skip to content

fix to enable new wave creation for MI200. - #222

Open
alsamoyl-amd wants to merge 1 commit into
amd-stagingfrom
users/alsamoyl/hog-fix-for-create-waves
Open

fix to enable new wave creation for MI200.#222
alsamoyl-amd wants to merge 1 commit into
amd-stagingfrom
users/alsamoyl/hog-fix-for-create-waves

Conversation

@alsamoyl-amd

Copy link
Copy Markdown

Motivation

step-schedlock-spurious-waves.exp fails on MI200 for new waves creation subtest.

Technical Details

Scale the hog kernel to occupy a significant portion of the GPU's
concurrent wave execution capacity, regardless of GPU size.

Test Plan

Run gdb.rocm step-schedlock-spurious-waves.exp on MI200.

Test Result

The step-schedlock-spurious-waves.exp should pass completely on MI200.

@alsamoyl-amd
alsamoyl-amd requested a review from a team as a code owner July 20, 2026 11:12
@lumachad
lumachad marked this pull request as draft July 20, 2026 11:22
@lumachad

Copy link
Copy Markdown
Collaborator

Pre-commit issues. Please address them first.

@lumachad

Copy link
Copy Markdown
Collaborator

Please also add a commit message explaining what the change is doing. When merging for rocgdb we use "rebase + merge", which discards the PR description. So the PR description is only helpful for reviewers.

@lumachad lumachad assigned alsamoyl-amd and unassigned lumachad Jul 20, 2026

@aktemur aktemur left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't understand well what problem we are addressing with this PR. Can you explain the problem?

Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
@aktemur aktemur removed their assignment Jul 21, 2026

@lancesix lancesix left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Some minor comments.

Note that the commit description missing, it should discuss what this fixes, why do we have an issue and so on, as well as describing the testing done to ensure this is compatible with all the GPUs we maintain compatibility for today.

Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
Comment thread gdb/testsuite/gdb.rocm/hog.cpp Outdated
@alsamoyl-amd
alsamoyl-amd marked this pull request as ready for review July 22, 2026 18:08
@alsamoyl-amd
alsamoyl-amd force-pushed the users/alsamoyl/hog-fix-for-create-waves branch from b8c071a to fba5ab1 Compare July 23, 2026 14:48
that fails on MI200 for new waves creation subtest,
the fix scales the hog kernel to occupy a significant portion of the GPU's
concurrent wave execution capacity, regardless of GPU size.
@alsamoyl-amd
alsamoyl-amd force-pushed the users/alsamoyl/hog-fix-for-create-waves branch from fba5ab1 to 9f43f0f Compare July 23, 2026 14:56
@lumachad

Copy link
Copy Markdown
Collaborator

Is this specific to MI200? I don't recall seeing this for MI210. I still don't think the problem description is clear here. What exactly are the failures and the failure mode?

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.

4 participants