# simd-function-pointers, Qsimd-function-pointers

Enables or disables pointers to simd-enabled functions.

## Syntax

Linux and macOS: | -simd-function-pointers -no-simd-function-pointers

Windows: | /Qsimd-function-pointers /Qsimd-function-pointers-

## Arguments

None

## Default

-no-simd-function-pointers or /Qsimd-function-pointers- | Pointers to simd-enabled functions are disabled. Vector specifications can only be placed in function declarations and definitions.

## Description

This option enables or disables pointers to simd-enabled functions.

When option [Q]simd-function-pointers is specified, it defines simd-enabled (vector) function pointers by placing vector specifications with all usual clauses in function pointer declarations. The vector specifications must be indicated in an attribute vector declaration or in pragma omp declare simd.

These pointers can enable indirect calls to appropriate vector versions of the function from a simd loop or another simd-enabled function.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Advanced Optimization Options