attributes-blocksAndControlFlow(3clc)

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.

  1. 8–9
  2. 10
  3. 11
  4. 13

Authors

The Khronos Group

From opencl-1.2-man-doc 1.0~svn33624-5.1 in Debian 13 (Trixie). Parsed by carta from the page's man source.