VECTOR directive (The GNU Fortran Compiler) (original) (raw)

Next: NOVECTOR directive, Previous: IVDEP directive, Up: GNU Fortran Compiler Directives [Contents][Index]


6.2.5 VECTOR directive

The syntax of the directive is

!GCC$ vector

This directive tells the compiler to vectorize the following loop. It must be placed immediately before a DO loop and applies only to the loop that follows.

For DO CONCURRENT constructs this annotation applies to all loops specified in the concurrent header.