Tells the compiler to perform a partial link of device binaries.
Linux: | -fsycl-link |
Windows: | -fsycl-link |
None
OFF |
No partial link of device binaries is performed. |
This option tells the compiler to perform a partial link of device binaries.
This partial link is then wrapped by the offload wrapper, allowing the device binaries to be linked by the host compiler or linker.
When used with just -fsycl (-fsycl -fsycl-link), the driver will generate a host linkable device object.
When using this option, you must also specify option -fsycl.
For information about available SYCL drivers, refer to Invoke the Compiler.
When SYCL offloading is enabled, this option only applies to device-specific compilation.
Visual Studio: Linker > General > Generate partially linked device object to be used with the host link
Eclipse: Linker > General > Generate partially linked device object to be used with the host link
None