================
@@ -79,8 +79,10 @@ struct SYCLJITOptions {
 /// as global symbols and registers the images with the SYCL Runtime.
 /// \param Options Compiler and linker options to be encoded for the later
 ///  use by a runtime for JIT compilation. Not used for AOT.
-/// \param IsFinalizedImage True when \p Buffer holds an already finalized
-///  device image, which must not be device-linked again.
+/// \param IsFinalizedImage True when \p Buffer holds an already linked device
+///  image, e.g. from -fno-gpu-rdc or a relocatable link. It is put in
+///  .sycl_fatbin instead of .llvm.offloading, so that a later link does not
+///  link it again.
----------------
YuriPlyakhin wrote:

```suggestion
/// \param IsFinalizedImage True when \p Buffer holds a
///  device image that must not be device-linked again, e.g. from -fno-gpu-rdc 
or a relocatable link.
/// It is put in .sycl_fatbin instead of .llvm.offloading, so 
clang-linker-wrapper does not extract it for linking.
```

https://github.com/llvm/llvm-project/pull/242098
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to