# qopt-for-throughput, Qopt-for-throughput

Determines how the compiler optimizes for throughput depending on whether the program is to run in single-job or multi-job mode. This feature is only available for ifx.

## Syntax

Linux: | -qopt-for-throughput[=value]

macOS: | None

Windows: | /Qopt-for-throughput[:value]

## Arguments

value | Is one of the values "multi-job" or "single-job". If no value is specified, the default is "multi-job".

## Default

OFF | If this option is not specified, the compiler will not optimize for throughput performance.

## Description

This option determines whether throughput performance optimization occurs for a program that is run as a single job or one that is run in a multiple job environment.

The memory optimizations for a single job versus multiple jobs can be tuned in different ways by the compiler. For example, the cost model for loop tiling and prefetching are different for a single job versus multiple jobs. When a single job is running, more memory is available and the tunings will be different.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Advanced Optimization Options