Clang currently supports the `-Xarch_host` and `-Xarch_device` variants to handle passing arguments to only one part of the offloading toolchain. This was previously only supported fully for HIP / CUDA This patch simple updates the logic to make it work for any offloading kind. Fixes #59799 Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D141935
46 KiB
46 KiB