Hi Christian,
We can probably start by/experiment with custom headers in d/control, eg: X-ROCm-Architectures: gfx1030 gfx1032 gfx1034 and adapt our tooling as we go. Stuff that stabilizes, we can feed back upstream, as we've been doing for autopkgtest and debci.
The flag for specifying the architecture in LLVM is `--offload-arch` [1], so perhaps `X-Offload-Architectures` would be more appropriate. This terminology is more vendor neutral, allowing the header to be used more broadly. It would also protect against the name becoming outdated due to branding changes.
Sincerely,[1]: https://llvm.org/docs/AMDGPUUsage.html