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.
Linux: | -fsycl-max-parallel-link-jobs=n |
Windows: | -fsycl-max-parallel-link-jobs=n |
n |
Is the number of processes to spawn to. |
-fsycl-max-parallel-link-jobs=1 |
One process is simultaneously spawned to perform actions necessary to link SYCL applications. |
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.
If you specify a large number of processes, it can cause performance issues and compilation crashes due to excessive RAM consumption.
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.
When SYCL offloading is enabled, this option only applies to device-specific compilation.
None
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