Skip to content

feat(rocprofiler-sdk): Introduce ioctl for CU Mask on WGPs with > 4 Shader Engines. Add auto target CU for ATT. - #14570

Open
ApoKalipse-V wants to merge 3 commits into
developfrom
users/gbaraldi/wgpmask
Open

ApoKalipse-V wants to merge 3 commits into
developfrom
users/gbaraldi/wgpmask

Conversation

@ApoKalipse-V

@ApoKalipse-V ApoKalipse-V commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

The current KFD ioctl for CU mask does not provide the full mask for multi-XCC devices.
This PR introduces a new ioctl to query cu masks on mi300 and mi400 series devices.

Additionally, thread trace has problems if the target_cu is masked out. This PR extends the API's "target_cu" negative value to indicate "find the first available CU". This should fix CI failures in machines that happen to contain a masked CU=1.

JIRA ID : ROCM-25388

Submission Checklist

@ApoKalipse-V
ApoKalipse-V requested review from a team as code owners October 29, 2026 16:30
@github-actions github-actions Bot added documentation Improvements or additions to documentation project: rocprofiler-sdk labels Oct 29, 2026
@therock-pr-bot

Copy link
Copy Markdown

✅ All Policy Checks Passed

Check Status Details
📝 PR Description ✅ Pass —
⛔ Forbidden Files ✅ Pass —
🧪 Unit Test ✅ Pass —
🚫 Draft PR 🔜 To Be Enabled —
🚩 Feature Flag 🔜 To Be Enabled —
📊 Code Coverage 🔜 To Be Enabled —

🎉 All policy checks passed!

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

🙋 Wish to Override Policy?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation organization: ROCm project: rocprofiler-sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant