Developer Guide and Reference

ID 767251
Date 10/31/2024
Public
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.