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 DPC++ applications.
This is an experimental feature.
This content is specific to
DPC++
.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 DPC++ 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 DPC++
applications. This is an experimental feature.
For this option to be effective, you should also specify option
-fsycl
.
If you specify a large number of processes, it can
cause performance issues and compilation crashes due to excessive RAM
consumption.
This option has no effect if compiler options such as
c
or
E
are specified.
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