Re: RFC: Centralized ROCm target list + utility
I really like the idea here, the tool demo during the community meeting was cool to see.
On 6/26/25 8:35 AM, Cordell Bloor wrote:
<snip>
How would we do that?
The primary goal of this particular utility is build support. So one way
to disambiguate would be to rename the utility to 'rocm-build-support'
to make this distinction clearer.
How about 'rocm-target-archs'? Or 'rocm-build-targets'? I think I mildly
prefer the former, because 'build' is both a noun and a verb and you
need context to know which it is being used as.
If this is going to be a utility that sees wider usage, would something like 'rocm-target-isa' be a better choice? I just wonder if there would be an assumption that arch refers to system arch (amd64, aarch64 etc.) instead of shader architecture.
If it's going to be used by folks who are already familiar with what the shader architectures are, this may not be a big concern, though.
That would also sidestep the word 'support', which I think might help
because I've seen that word confuse a lot of people in discussions about
GPU targets. Users naively ask "is my GPU supported?" but that question
means different things to different people.
+1 on avoiding the word "support" for that reason - it can get confusing quickly.
Tim
Sincerely,
Cory Bloor
[1]: https://cmake.org/cmake/help/latest/variable/
CMAKE_HIP_ARCHITECTURES.html
Reply to: