# fsycl-enable-function-pointers

Enables function pointers and support for virtual functions for DPC++ kernels and device functions. This is an experimental feature.This content is specific to DPC++.

## Syntax

Linux: | -fsycl-enable-function-pointers

Windows: | -fsycl-enable-function-pointers

## Arguments

None

## Default

OFF | Function pointers are not enabled and virtual functions for DPC++ kernels and device functions are not supported.

## Description

This option enables function pointers and support for virtual functions for DPC++ 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.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Offload Compilation Options, OpenMP* Options, and Parallel Processing Options