================ @@ -106,3 +106,20 @@ space attributes for pointers: ```C++ //TODO: add support for __attribute__((opencl_global_host)) and __attribute__((opencl_global_device)). ``` + +## Relocatable linking + +With `-r`, clang links the SYCL device code of its inputs and merges the inputs +into one object file. That object file also contains the code that registers the ---------------- YuriPlyakhin wrote:
nit ```suggestion With `-r`, clang links the SYCL device code embedded in the input object files and merges those object files into one. That object file also contains the code that registers the ``` https://github.com/llvm/llvm-project/pull/242098 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
