#pragma block_loop

Applies to C Applies to C++

Description

Marks a block with a scope-unique identifier.

Syntax


Syntax Diagram

where:


n Is an integer expression the size of the iteration group.
name_list Is a unique identifier you can create using the #pragma loopid directive. If you do not specify name, blocking occurs on the first for loop following the #pragma block_loop directive.

name is an identifier that is unique within the scoping unit.

Notes

For loop blocking to occur, a #pragma blockloop directive must precede a for loop.

You must not specify #pragma blockloop more than once, or combine the directive with the nounroll, unroll, nounrollandfuse, unrollandfuse, or stream_unroll #pragma directives for the same for loop.

You must not specify #pragma blockloop more than once for a given loop.

Related References

General Purpose Pragmas
unroll
#pragma unroll
#pragma unrollandfuse
#pragma stream_unroll IBM Copyright 2003