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

ID 767251
Date 3/31/2023
Public

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

Document Table of Contents

PRIORITY

Parallel Directive Clause: Specifies that the generated tasks have the indicated priority for execution.

Syntax

PRIORITY (priority-value)

priority-value

Provides a hint for the priority of task execution order. priority-value must evaluate to a non-negative scalar integer value.

Among all tasks ready to be executed, higher priority tasks (those with a higher numerical value of priority-value) are recommended to execute before lower priority tasks. A program that relies on task execution order being determined by this priority-value may have unspecified behavior.

At most one PRIORITY clause can appear in the directive.

If this clause is not specified, tasks generated by the construct have a task priority of zero (the default).