Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

fopenmp

Option -fopenmp is a deprecated option that will be removed in a future release.

Syntax

Linux:

-fopenmp

Windows:

None

Arguments

None

Default

OFF

No OpenMP* multi-threaded code is generated by the compiler.

Description

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. You can get most of that functionality by using this option and option -fopenmp-simd.

Option -fopenmp is a deprecated option that will be removed in a future release. For most users, we recommend that you instead use option qopenmp, Qopenmp.

NOTE:

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.

NOTE:

This option only applies to host compilation. When offloading is enabled, it does not impact device-specific compilation.

IDE EquivalentNone
Alternate Options

None