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

ID 767253
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of 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.

NOTE:

When using this option, you must also specify option -fsycl.

If you specify -fno-sycl-unnamed-lambda, unnamed SYCL lambda kernels are disabled.

For information about available SYCL drivers, refer to Invoke the Compiler.

NOTE:

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