These are the qualifiers available in the OpenCL C programming language. Click on a category name in the table below to see information about specific qualifiers.
Access Qualifiers |
__read_only, read_only |
Address Space Qualifiers
|
|
Function Qualifiers |
__kernel, kernel |
Attribute Qualifiers for Type | __attribute__ with aligned, packed |
Attribute Qualifiers for Variables | __attribute__ with aligned, packed, endian |
Attribute Qualifiers for Blocks and Control Flow Statements | __attribute__ |
Storage-class Qualifiers | typedef, extern, static |
C99 Type Qualifiers
|
const, restrict, volatile
The type qualifiers const, restrict and volatile as defined by the C99 specification are supported. These qualifiers cannot be used with image2d_t, image3d_t, image2d_array_t, image1d_t, image1d_buffer_t and image1d_array_t types. Types other than pointer types shall not use the restrict qualifier. |