Repository navigation
Add support for gfx1250 - #4975
Conversation
2e201ac to
8b186dc
Compare
8b186dc to
c924e14
Compare
589c93e to
87ed09d
Compare
87ed09d to
9276ce1
Compare
|
Nothing worth blocking for. Just 2 kfdtest changes and an unneeded capitalization on a hex value. Ignore the hex change unless you have to do another upload anyways. kfdtest changes can be made after these land |
a7be5a6 to
f601a32
Compare
5490a73 to
d98e1a2
Compare
|
As you may have seen from some of my recent PRs, I've been running static analysis tools across the codebase. One minor thing flawfinder flagged (pre-existing, not introduced by your PR): PrefetchRange in runtime.h L732-739 — the 2-arg constructor doesn't initialize prev and next. The prefetch_lock_ mutex likely protects against any read-before-write in practice, but initializing them in the constructor would make it safe by construction: Not a blocker at all — just a small defensive improvement. Feel free to ignore if it's out of scope for this PR. |
|
You are also touching fmm.c which has some tiny printf cppcheck issues |
Please keep PR's focused on a single topic. I will address that change in another PR. |
|
Filed #5051 as many of the files in this PR use the obsolete 'alloca' |
|
Another PR on signal.cpp: #5052 |
|
This PR touches amd_hsa_code.cpp which also has memory corruption bug, although it's possibly unused code |
|
@dayatsin-amd FYI, this broke gfx1201 debugging on rocgdb. Edit: More specifically this commit: 0853edd |
Hi @dayatsin-amd, since this got pinned down to trap handler, I'll try to have a look shortly. |
Fix incorreect grid dimensions introduced by: #4975
Fix incorreect grid dimensions introduced by: #4975
Fix incorreect grid dimensions introduced by: #4975
Fix incorreect grid dimensions introduced by: #4975
Fix incorreect grid dimensions introduced by: #4975
Fix incorreect grid dimensions introduced by: #4975
Fix incorreect grid dimensions introduced by: #4975
## Summary Fix incorrect grid dimensions introduced by #4975. ROCr changes (`amd_gpu_agent.cpp`): - Set default `kern_cluster_max_dim_` to `{ INT32_MAX, UINT16_MAX, UINT16_MAX }` - Remove gfx12-specific override that reported `UINT32_MAX` for the X dimension - Clamp `HSA_AGENT_INFO_GRID_MAX_DIM` / `HSA_AGENT_INFO_GRID_MAX_SIZE` to `INT32_MAX` / `UINT16_MAX` rocprofiler-sdk companion fix (`platform/gnulinux/agent.cpp`): - Update hardcoded `grid_max_size` from `UINT32_MAX` to `INT32_MAX` so agent info matches ROCr ## JIRA ID JIRA ID : ROCM-23909 ## Test plan - [ ] Run rocminfo and verify grid max dimensions - [ ] `rocprofiler_sdk.unit.rocprofiler_lib.agent` --------- Co-authored-by: Cursor <cursoragent@cursor.com>
Motivation
Add support for gfx1250 GPU
Test Plan
Tested that these patches pass ROCRtst and HIP catch tests on existing GPUs.
Test Result
Pass
Submission Checklist