attributes-blocksAndControlFlow3clc
Attributes of blocks and control-flow statements.
Overview
For basic blocks and control-flow-statements the attribute is placed before the structure in question, for example:
| __attribute__((attr1)) {...} for __attribute__((attr2)) (...) __attribute__((attr3)) {...} |
Here attr1 applies to the block in braces and attr2 and attr3 apply to the loop's control construct and body, respectively.
No attribute qualifiers for blocks and control-flow-statements are currently defined.
Specification
OpenCL Specification[1]
Notes
- 1.
-
OpenCL Specification
page 241, section 6.11.4 - Specifying Attributes of Blocks and Control...
Releases
5 releases since Debian 8 (Jessie); the text changed 3 times.