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-host-compiler-options

Passes options to the compiler specified by option fsycl-host-compiler.

Syntax

Linux:

-fsycl-host-compiler-options="opts"

Windows:

-fsycl-host-compiler-options="opts"

Arguments

opts

Is a string of compatible compiler options to be passed. The string must appear within quotes.

If there is more than one compiler option, a space must appear between each option name.

Default

OFF

No options are passed to the compiler specified by -fsycl-host-compiler.

Description

This option tells the compiler to pass options to the compiler specified by option fsycl-host-compiler. The options must be compatible with the compiler specified by fsycl-host-compiler.

NOTE:

Specifying any kind of phase limiting options (such as -c, -E, or -S) may interfere with the expected output set during the host compilation. This can cause undefined behavior.

NOTE:

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

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

IDE Equivalent

None

Alternate Options

None

See Also