Qualifiers
Qualifiers
2007-2011 The Khronos Group Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or associated documentation files (the "Materials"), to deal in the Materials without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Materials, and to permit persons to whom the Materials are furnished to do so, subject to the condition that this copyright notice and permission notice shall be included in all copies or substantial portions of the Materials.
3
Qualifiers OpenCL qualifiers.

## Description

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
    __write_only, write_only
    __read_write, read_write
`Address Space Qualifiers` |
    __local, local
    __global, global
    __constant, constant
    __private, private
Function Qualifiers |
    __kernel, kernel
    __attribute__ with work_group_size_hint, reqd_work_group_size, vec_type_hint
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.

## Specification

OpenCL Specification

##