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.

Note

On Windows, to prevent potential sycl.lib library conflicts, you should add any desired SYCL library by specifying the library in the link command.

IDE Equivalent

None

Alternate Options

None

See Also