================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits