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

ID 767253
Date 3/22/2024
Public
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