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

ASSUMES Directive for OpenMP

OpenMP* Fortran Compiler Directive: Provides hints to the optimizer about the current compilation unit and all the code it can reach through procedure calls. This feature is only available for ifx.

Syntax

!$OMP ASSUMES clause[[[,] clause]... ]

clause

Is an ASSUMPTION clause.

The ASSUMES directive is an informational directive that provides optimization hints to the compiler. The scope of the directive is the code executed in the current compilation unit, and all code that can be reached from the current compilation unit through procedure calls. It is a pure directive, so it can appear in a Fortran PURE procedure.

The ASSUMES directive must appear in the specification part of a module or subprogram, following all IMPLICIT, IMPORT, or USE statements.