Visible to Intel only — GUID: GUID-7CFD9BCB-8407-475A-8E4C-D38EF3D5622E
Visible to Intel only — GUID: GUID-7CFD9BCB-8407-475A-8E4C-D38EF3D5622E
fsycl-early-optimizations
Enables LLVM-related optimizations before SPIR-V* generation.
Syntax
Linux: |
-fsycl-early-optimizations -fno-sycl-early-optimizations |
Windows: |
-fsycl-early-optimizations -fno-sycl-early-optimizations |
Arguments
None
Default
ON |
LLVM-related optimizations are enabled before SPIR-V* generation. |
Description
This option enables LLVM-related optimizations before SPIR-V* generation. These optimizations can improve performance.
When using this option, you must also specify option -fsycl.
If you specify -fno-sycl-early-optimizations, these optimizations are disabled.
For information about available SYCL drivers, refer to Invoke the Compiler.
When SYCL offloading is enabled, this option only applies to device-specific compilation.
IDE Equivalent
Visual Studio: DPC++ > Optimization > Enable/Disable DPC++ early optimization before generation of SPIR-V code
Eclipse: Intel(R) oneAPI DPC++ Compiler > Optimization > Enable/Disable DPC++ early optimization before generation of SPIR-V code
Alternate Options
None