Enables LLVM-related optimizations before SPIR-V* generation.
Linux: | -fsycl-early-optimizations -fno-sycl-early-optimizations |
Windows: | -fsycl-early-optimizations -fno-sycl-early-optimizations |
None
ON |
LLVM-related optimizations are enabled before SPIR-V* generation. |
This option enables LLVM-related optimizations before SPIR-V* generation. These optimizations can improve performance.
If you specify -fno-sycl-early-optimizations, these optimizations are disabled.
When using the icx/icpx compiler driver for option -fsycl-early-optimizations, 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.
Visual Studio: DPC++ > Optimization > Enable/Disable DPC++ early optimization before generation of SPIR-V code
Eclipse: Intel® oneAPI DPC++ Compiler > Optimization > Enable/Disable DPC++ early optimization before generation of SPIR-V code
None