Intel-Specific Pragmas

The Intel-specific C++ compiler pragmas described in the Intel-Specific Pragma reference are listed below.

Some pragmas are available for both Intel® and non-Intel microprocessors but they may perform additional optimizations for Intel® microprocessors than they perform for non-Intel microprocessors.

Click on the pragmas for a more detailed description.

Pragma

Description

alloc_section

allocates variable in specified section

distribute_point

instructs the compiler to prefer loop distribution at the location indicated

inline

instructs the compiler that the user prefers that the calls in question be inlined

intel_omp_task

specifies a unit of work, potentially executed by a different thread

intel_omp_taskq

specifies a unit of work, potentially executed by a different thread

ivdep

instructs the compiler to ignore assumed vector dependencies

loop_count

indicates the loop count is likely to be an integer

novector

specifies that the loop should never be vectorized

optimize

enables or disables optimizations for specific functions; provides some degree of compatibility with Microsoft's implementation of optimize pragma

optimization_level

enables control of optimization for a specific function

parallel/noparallel

facilitates auto-parallelization of an immediately following DO loop; using keyword [always] forces the compiler to auto-parallelize; noparallel pragma prevents auto-parallelization

simd

enforces vectorization of innermost loops

unroll/nounroll

instructs the compiler the number of times to unroll/not to unroll a loop

unroll_and_jam/nounroll_and_jam

instructs the compiler to partially unroll higher loops and jam the resulting loops back together. Specifying the nounroll_and_jam pragma prevents unrolling and jamming of loops.

unused

describes variables that are unused (warnings not generated)

vector

indicates to the compiler that the loop should be vectorized according to the arguments: always/aligned/unaligned/nontemporal/temporal


Submit feedback on this help topic

Copyright © 1996-2011, Intel Corporation. All rights reserved.