[clang] [clang][Driver][HIP] Add support for mixing AMDGCNSPIRV & concrete `offload-arch`s. (PR #113509)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 25 09:06:59 PDT 2024
https://github.com/jhuber6 commented:
So, I'm thinking that SPIR-V here fits better as a triple. I've been wanting to generalize the `--offload` option to behave more like `-fopenmp-targets`. I.e. we would have `--offload=spirv64-amd-amdhsa,amdgcn-amd-amdhsa -Xarch_device_amdgcn-amd-amdhsa --offload-arch=gfx1030,gfx90a,gfx942` for a really verbose example. I'd like a separate option that simply targets the *toolchain* and then one that creates the `BoundArch`s. If it's not set then we default to some value (whatever amdgpu-arch says?).
https://github.com/llvm/llvm-project/pull/113509
More information about the cfe-commits
mailing list