Development Reference Guides

Contents

fsycl-unnamed-lambda

Enables unnamed SYCL* lambda kernels.

Syntax

Linux:
-fsycl-unnamed-lambda
-fno-sycl-unnamed-lambda
Windows:
-fsycl-unnamed-lambda
-fno-sycl-unnamed-lambda
Arguments
None
Default
ON
Unnamed SYCL lambda kernels are enabled.
Description
This option enables unnamed SYCL kernels that are defined as lambdas.
If you specify
-fno-sycl-unnamed-lambda
, unnamed SYCL lambda kernels are disabled.
When using the icx/icpx compiler driver for option
-fsycl-unnamed-lambda
, you must also specify option
-fsycl
.
When using the dpcpp compiler driver, option
-fsycl
is implied by default.
When SYCL offloading is enabled, this option only applies to device-specific compilation.
IDE Equivalent
Visual Studio:
DPC++ > General > Allow unnamed SYCL lambda kernels
Eclipse:
Intel(R) oneAPI DPC++ Compiler > Language > Allow unnamed SYCL lambda kernels
Alternate Options
None

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.