[clang] [llvm] [Clang][Object][SYCL][CUDA] Add --[no-]offload-embed-virtual-arch (PR #242407)
Srividya Sundaram via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 4 13:48:11 PST 2026
================
@@ -4174,6 +4174,8 @@ Driver::getOffloadArchs(Compilation &C, const llvm::opt::DerivedArgList &Args,
Targets.insert(Target);
if (ID.isIntelGPU())
----------------
srividya-sundaram wrote:
lol, I didn't know we could add pics in review comments!
I'll go with `isIntelGPUPhysicalDevice()` and `isIntelGPUVirtualArch()` in the NFC PR, physical vs virtual reads pretty clearly.
https://github.com/llvm/llvm-project/pull/242407
More information about the cfe-commits
mailing list