clonealways
- Date:
09-24-2013
NAME
clone_always, CLONEALWAYS, clone_never, CLONENEVER - specifies functions or procedures that the compiler should attempt or avoid to clone
SYNOPSIS
#pragma _CRI clone_always name [,name ...]
#pragma _CRI clone_never name [,name ...]
!DIR$ CLONEALWAYS name [,name ...]
!DIR$ CLONENEVER name [,name ...]
- name
the name of a function or procedure
IMPLEMENTATION
Cray Linux Environment (CLE)
DESCRIPTION
The C/C++ directive names are used below to explain their behaviors. These directives behave similarly in both C/C++ and Fortran.
The clone_always and clone_never directives specify functions or procedures that the compiler should always/never attempt to clone. If the directive is placed in the definition of the function, cloning is always/never attempted at every call site to name in the entire input file being compiled. If the directive is placed in a function other the definition, cloning is always/never attempted at every call to name within the specific function containing the directive.
The clone_always, clone_never directives control cloning of a procedure for the compilation of the whole input file.
Use compile options -hipaN or -OipaN where N is equal to or greater than 4 to enable cloning directives.
SEE ALSO
clone(7)
intro_directives(7)