Skip to content

Adapt ifdefs to generic architectures #471

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2025
Merged

Conversation

mkuron
Copy link
Contributor

@mkuron mkuron commented May 24, 2025

I was thinking about building with e.g. GPU_TARGETS="gfx12-generic" (see https://rocm.docs.amd.com/projects/llvm-project/en/develop/conceptual/code-portability.html#generic-code-objects) to reduce compile time and binary size while still being able to run on all architectures relevant to me. This led me to a few #ifdefs that explicitly checked for specific architecture, which this pull request adapts to also support generic architectures.

I've opened a similar pull request for rocBLAS at ROCm/rocBLAS#1624.

@mkuron
Copy link
Contributor Author

mkuron commented Jun 9, 2025

Do we need anyone else to review? Who can push the merge button?

@jsandham
Copy link
Contributor

Do we need anyone else to review? Who can push the merge button?

Ill double check with the team in our meeting tomorrow and if good ill merge then.

@ntrost57 ntrost57 merged commit 116207a into ROCm:develop Jun 11, 2025
4 of 5 checks passed
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