fusion

Date:

08-10-2018

NAME

fusion, nofusion - direct the compiler to attempt or not attempt loop fusion on the following loop

SYNOPSIS

#pragma _CRI fusion
#pragma _CRI nofusion
!DIR$ FUSION
!DIR$ NOFUSION

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

The fusion and nofusion directives allow you to fine-tune the selection of which loops the compiler should attempt to fuse. The fusion directive instructs the compiler to attempt loop fusion on the following loop unless -h nofusion was specified on the compiler command line. The nofusion directive instructs the compiler to not attempt loop fusion on the following loop even when the -h fusion option was specified on the compiler command line.

The fusion directive should be placed immediately before the for or DO statement of the loop that should be fused.

If there are only a few loops out of many that you want to fuse, then use the fusion directive with the -h fusion1 or the -O fusion1 option to confine loop fusion to these few loops. If there are only a few loops out of many that you do not want to fuse, use the nofusion directive with the -h fusion2 or the -O fusion2 option to specify no fusion for these loops.

SEE ALSO

intro_directives(1)