================
@@ -97,6 +98,13 @@ class Compilation {
};
std::map<TCArgsKey, llvm::opt::DerivedArgList *> TCArgs;
+ /// For SYCL, maps a device toolchain and an IGCA target, e.g. igca_30r, to
+ /// the Intel GPUs from --offload-arch that share that target, e.g. xe-mtl-h
+ /// and xe-mtl-u. Each list is sorted and has no duplicates.
+ llvm::DenseMap<std::pair<const ToolChain *, StringRef>,
+ llvm::SmallVector<StringRef, 2>>
----------------
YuriPlyakhin wrote:
The list must also be sorted, because `code` is compared as a string at link
time.
https://github.com/llvm/llvm-project/pull/239010
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits