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

ID 767253
Date 9/08/2022
Public

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

Document Table of Contents

Xs

Passes options to the backend tool.

Syntax

Linux:

-Xs -option or -Xsoption

Windows:

-Xs -option or -Xsoption

Arguments

option

Is the option that you want to pass to the backend tool in device compilation.

To see the values you can use for option, specify compiler option -fsycl-help to display the help information for the offline tools.

Default

OFF

No options are passed to the backend tool.

Description

This option passes options to the backend tool. It is a shortcut for option Xsycl-target-backend.

For example, the following option (using syntax form -Xsoption):

  -Xsversion

and the following option (using syntax form -Xs -option):

  -Xs -version

are both equivalent to specifying:

  -Xsycl-target-backend -version
NOTE:

When using Ahead of Time (AOT) compilation, the options passed with -Xs are not compiler options.

To see a list of the options you can pass with -Xs when using AOT, specify -fsycl-help=gen, -fsycl-help=x86_64, or -fsycl-help=fpga on the command line.

NOTE:

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

IDE Equivalent

Visual Studio: Linker > General > Enable FPGA hardware build

Eclipse: Linker > General > Enable FPGA hardware build

Alternate Options

None

See Also