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

ID 767251
Date 6/24/2024
Public
Document Table of Contents

THREAD_LIMIT

Parallel Directive Clause: Specifies the maximum number of threads that can participate in a construct. This feature is only available for ifx.

Syntax

THREAD_LIMIT (scalar-integer-expression)

scalar-integer-expression

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

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

If THREAD_LIMIT is not specified, the default thread limit is determined by the internal control variable (ICV) named thread_limit.