# fsycl-dead-args-optimization

Enables elimination of SYCL dead kernel arguments. This feature is only available for ifx.

## Syntax

Linux: | -fsycl-dead-args-optimization -fno-sycl-dead-args-optimization

macOS: | None

Windows: | -fsycl-dead-args-optimization -fno-sycl-dead-args-optimization

## Arguments

None

## Default

OFF | SYCL dead kernel arguments are not eliminated. This default may change in the future.

## Description

This option enables elimination of SYCL dead kernel arguments. This optimization can improve performance.

If you specify -fno-sycl-dead-args-optimization, this optimization is disabled.

For option -fsycl-dead-args-optimization to be effective, you must also specify option -fsycl.

### Note

When SYCL offloading is enabled, this option only applies to device-specific compilation.

## IDE Equivalent

None

## Alternate Options

None

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