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

ID 767253
Date 7/13/2023
Public

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

Document Table of Contents

fsycl-device-only

Tells the compiler to generate a device-only binary.

Syntax

Linux:

-fsycl-device-only

Windows:

-fsycl-device-only

Arguments

None

Default

OFF

No device-only binary is generated.

Description

This option tells the compiler to generate a device-only binary.

NOTE:

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

IDE Equivalent

None

Alternate Options

None