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-device-obj

Lets you specify the format of device code stored in a resulting object. This is an experimental feature.

Syntax

Linux:

-fsycl-device-obj=arg

Windows:

-fsycl-device-obj=arg

Arguments

arg

Can be only one of the following:

llvmir

Creates Instruction Pointer (IP-based) fat objects.

spirv

Creates Standard Portable Intermediate Representation (SPIR-V*-based) objects.

Default

-fsycl-device-obj=llvmir

If you do not specify option -fsycl-device-obj, the compiler will create IP-based fat objects.

Description

This option lets you specify the format of device code stored in a resulting object. It is an experimental feature.

NOTE:

This compiler option is specific for the target binary type when it is bundled with the host object or generated independently with -fsycl-device-only.

IDE Equivalent

None

Alternate Options

None