Visible to Intel only — GUID: GUID-E3573689-8B8B-4A48-BB50-3F60F9B95B27
Visible to Intel only — GUID: GUID-E3573689-8B8B-4A48-BB50-3F60F9B95B27
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.
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.
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
Alternate Options
None