fsycl-link

Tells the compiler to perform a partial link of device binaries.

Syntax

Linux:

-fsycl-link

Windows:

-fsycl-link

Arguments

None

Default

OFF

No partial link of device binaries is performed.

Description

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.

Note

When using this option, you must also specify option -fsycl.

For information about available SYCL drivers, refer to Invoke the Compiler.

Note

When SYCL offloading is enabled, this option only applies to device-specific compilation.

IDE Equivalent

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

Alternate Options

None