Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

fsycl-add-targets

Lets you add arbitrary device binary images to the fat SYCL* binary when linking. This is a deprecated option that may be removed in a future release.

Syntax

Linux:

-fsycl-add-targets=T1:file1,...,Tn:filen

Windows:

-fsycl-add-targets=T1:file1,...,Tn:filen

Arguments

T

Is a target triple for the device binary image.

file

Is the location of the device binary image.

You can specify one or more pair of T:file.

Default

OFF

Arbitrary device images are not added to any fat SYCL* binary being linked.

Description

This option lets you add arbitrary device binary images to the fat SYCL* binary when linking.

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

None

Alternate Options

None

See Also