インテル® Fortran コンパイラー 14.0 ユーザー・リファレンス・ガイド

Rules for Loop Directives that Affect Array Assignment Statements

When certain loop directives precede an array assignment statement, they affect the implicit loops that are generated by the compiler.

The following loop directives can affect array assignment statements:

DISTRIBUTE POINT

NOUNROLL

FORCEINLINE

NOUNROLL_AND_JAM

INLINE

NOVECTOR

IVDEP

PARALLEL

LOOP COUNT

SIMD

NOFUSION

UNROLL

NOINLINE

UNROLL_AND_JAM

NOPARALLEL

VECTOR

The PREFETCH and NOPREFETCH directives also affect array assignment statements, but they are only available on Intel® MIC Architecture.

Only one of the general directives can precede the array assignment statement (one-dimensional-array = expression) to affect it.

Other rules may apply to the general directives. For more information, see the description of each directive.

Examples

Consider the following:

             REAL A(10), B(10)
             ...
        !DIR$ IVDEP
             A = B + 3

This has the same effect as writing the following explicit loop:

       !DIR$ IVDEP
             DO I = 1, 10
                A (I) = B (I) + 3
             END DO

関連情報


このヘルプトピックについてのフィードバックを送信