feat(hwq_heuristic): add stream-priority interaction test - #60
Draft
y1k2chaitanya wants to merge 1 commit into
Draft
feat(hwq_heuristic): add stream-priority interaction test#60y1k2chaitanya wants to merge 1 commit into
y1k2chaitanya wants to merge 1 commit into
Conversation
Contributor
Author
CI validation — e2e-tests.yml on
|
test_stream_priority.py validates the queue heuristic preserves HIP stream priority semantics (hipStreamGetPriority echoes the range-clamped request, high <= low, workloads correct) and that DEBUG_HIP_IGNORE_STREAM_PRIORITY is honored gracefully. New src hwq_stream_priority.cpp. Validated 2/2 on quanta MI325.
y1k2chaitanya
force-pushed
the
users/kyenumul/hwq-stream-priority
branch
from
July 30, 2026 20:02
8ade32a to
26bc8cf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
test_stream_priority.py(TMS 1002695hwq_stream_priority_interaction, P1) to thehwq_heuristicsuite:test_stream_priority_semantics— with no override, the queue heuristic preserves requested stream priorities:hipStreamGetPriorityechoes the range-clamped request, the high-priority stream is numerically ≤ the low-priority stream, and both workloads compute correct results.test_stream_priority_ignore_override— withDEBUG_HIP_IGNORE_STREAM_PRIORITY=1, the override is honored gracefully (priority streams still create and both workloads execute correctly).New vendored public source
src/hwq_stream_priority.cpp; added as atarget=-scoped CMake executable so existing fixtures are untouched.Provenance / OSS-safety
Re-authored from standard public HIP stream-priority APIs — no internal/NDA payload.
Test plan
pytest --collect-only --no-gpu— 2 collected, markers valid