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

ID 767253
Date 11/07/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

Enables a program to be compiled as a SYCL program rather than as plain C++11 program.

Syntax

Linux:

-fsycl

Windows:

-fsycl

Arguments

None

Default

SYCL: ON

A C++ program is compiled as a SYCL program.

C++: OFF

A C++ program is compiled as a C++11 program.

Description

This option enables a program to be compiled as a SYCL program rather than as plain C++11 program.

NOTE:

On Windows, option -fsycl sets option /MD, which tells the linker to search for unresolved references in a multithreaded, dynamic-link runtime library. You cannot specify option /MT.

IDE Equivalent

None

Alternate Options

None

See Also