[clang] [llvm] [clang][SYCL] Embed finalized device images for -foffload-include-binary (PR #216419)
Yury Plyakhin via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 18 11:19:06 PDT 2026
================
@@ -2179,6 +2179,11 @@ class CodeGenModule : public CodeGenTypeCache {
/// by clang-sycl-linker during device-code splitting.
void addSYCLModuleIdAttr(llvm::Function *Fn);
+ /// Embed the finalized SYCL device image named by -foffload-include-binary
+ /// into the host module and emit the registration constructors the SYCL
+ /// runtime expects.
+ void embedSYCLTargetBinary();
----------------
YuriPlyakhin wrote:
0e88bd2e84c1477dec1fb967076cfd0e2b18a63a
https://github.com/llvm/llvm-project/pull/216419
More information about the llvm-commits
mailing list