Development Reference Guides

Contents

fsycl-enable-function-pointers

Enables function pointers and support for virtual functions for SYCL kernels and device functions.
This is an experimental feature.

Syntax

Linux:
-fsycl-enable-function-pointers
Windows:
-fsycl-enable-function-pointers
Arguments
None
Default
OFF
Function pointers are not enabled and virtual functions for SYCL kernels and device functions are not supported.
Description
This option enables function pointers and support for virtual functions for SYCL kernels and device functions.
This is an experimental feature.
This enhanced support is limited to CPU-device only and cannot currently be used for GPU devices.
When using the icx/icpx compiler driver for this option, 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
None
Alternate Options
None

Product and Performance Information

1

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