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

ID 767251
Date 7/13/2023
Public

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

Document Table of Contents

DEVICE Clause

Parallel Directive Clause: Specifies the target device for a processor control directive like TARGET.

Syntax

DEVICE (scalar-integer-expression)

scalar-integer-expression

Is an integer expression. It must evaluate to a positive scalar integer value.

At most one DEVICE clause can appear in a directive that allows the clause.

If DEVICE is not specified, the default device is determined by the internal control variable (ICV) named device-num-var.