Skip to content

Fixing nearest GPU numa detection#305

Merged
gilbertlee-amd merged 1 commit into
ROCm:candidatefrom
gilbertlee-amd:nearestNumaFix
May 19, 2026
Merged

Fixing nearest GPU numa detection#305
gilbertlee-amd merged 1 commit into
ROCm:candidatefrom
gilbertlee-amd:nearestNumaFix

Conversation

@gilbertlee-amd
Copy link
Copy Markdown
Collaborator

Motivation

On some machines, the closest NUMA node to each GPU was broken.
This was due to HSA being initialized / shutdown / reinitialized with CPU agent values to newer values.
Solution is now to allow for HSA to be implicitly initialized by letting GPU initialize first (hipGetDeviceCount initialize HSA).

@gilbertlee-amd gilbertlee-amd requested a review from a team as a code owner May 19, 2026 07:04
@gilbertlee-amd gilbertlee-amd requested a review from nileshnegi May 19, 2026 07:04
@nileshnegi nileshnegi requested a review from Copilot May 19, 2026 07:06
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Comment thread src/header/TransferBench.hpp
Comment thread src/header/TransferBench.hpp
@gilbertlee-amd gilbertlee-amd merged commit fcb2a3c into ROCm:candidate May 19, 2026
9 checks passed
@gilbertlee-amd gilbertlee-amd deleted the nearestNumaFix branch May 19, 2026 14:13
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.

3 participants