Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 11/07/2023
Public

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

Document Table of Contents

fopenmp-target-do-concurrent, Qopenmp-target-do-concurrent

Determines whether a DO CONCURRENT construct is automatically converted into an OpenMP* TARGET region. This feature is only available for ifx.

Syntax

Linux:

-fopenmp-target-do-concurrent

-fno-openmp-target-do-concurrent

Windows:

/Qopenmp-target-do-concurrent

/Qopenmp-target-do-concurrent-

Arguments

None

Default

varies

The default is ON only if you have specified option -fopenmp-targets (or /Qopenmp-targets); otherwise, the default is OFF.

Description

This option determines whether a DO CONCURRENT construct is automatically converted (offloaded) into an OpenMP* TARGET region. This option works in combination with OpenMP* offloading options.

The DO CONCURRENT construct is automatically converted if you specify the following:

Linux

-fopenmp-target-do-concurrent -fiopenmp -fopenmp-targets=spir64 

Windows

/Qopenmp-target-do-concurrent /Qiopenmp /Qopenmp-targets:spir64 
NOTE:

Option -fopenmp-target-do-concurrent and /Qopenmp-target-do-concurrent must be specified for both the host and target compilation steps.

IDE Equivalent

None

Alternate Options

None