Visible to Intel only — GUID: GUID-ABDBBAD2-0F0D-4B2B-9152-7788E8DCE20E
Visible to Intel only — GUID: GUID-ABDBBAD2-0F0D-4B2B-9152-7788E8DCE20E
fopenmp
Enables recognition of OpenMP* features and tells the parallelizer to generate multi-threaded code based on OpenMP* directives. This option leads to lowering of OpenMP constructs in the compiler front-end (as it is implemented by the LLVM community) and is expected to be not as performant as using the option -fiopenmp, which enables the Intel implementation of OpenMP constructs where the lowering is done in the compiler backend. Also, this option does not support offloading to GPUs.
Syntax
Linux: |
-fopenmp |
Windows: |
None |
Arguments
None
Default
OFF |
No OpenMP* multi-threaded code is generated by the compiler. |
Description
This option enables recognition of OpenMP* features and tells the parallelizer to generate multi-threaded code based on OpenMP* directives.
This option is meant for advanced users who prefer to use OpenMP* as it is implemented by the LLVM community.
Option -fopenmp is not the same as option -fiopenmp. If you want to get full advantage of SIMD vectorization or offloading, you must use option -qopenmp or -fiopenmp.
This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.
IDE Equivalent
NoneAlternate Options
None