fsycl-max-parallel-link-jobs

Tells the compiler that it can simultaneously spawn up to the specified number of processes to perform actions required to link SYCL applications. This is an experimental feature.

Syntax

Linux:

-fsycl-max-parallel-link-jobs=n

Windows:

-fsycl-max-parallel-link-jobs=n

Arguments

n

Is the number of processes to spawn to.

Default

-fsycl-max-parallel-link-jobs=1

One process is simultaneously spawned to perform actions necessary to link SYCL applications.

Description

This option tells the compiler that it can simultaneously spawn up to the specified number of processes to perform actions required to link SYCL applications. This is an experimental feature.

This option has no effect if compiler options such as c or E are specified.

Note

If you specify a large number of processes, it can cause performance issues and compilation crashes due to excessive RAM consumption.

Note

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.

Note

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

IDE Equivalent

None

Alternate Options

None

Example

The following shows examples of using this option on Linux*:

dpcpp -fsycl-max-parallel-link-jobs=4 a.cpp b.cpp c.cpp d.cpp -o a.out
dpcpp -fsycl-max-parallel-link-jobs=8 a.o b.o c.o d.so e.a -o b.out

See Also