---
name: "qualifiers"
section: "3clc"
platform: "linux"
package: "opencl-1.2-man-doc"
version: "1.0~svn33624-5.1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/qualifiers"
---

# qualifiers(3clc)

OpenCL qualifiers.

## NAME

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.

| | |
| --- | --- |
| [**accessQualifiers**(3clc)](/accessQualifiers/3clc.md) | \_\_read\_only, read\_only \_\_write\_only, write\_only \_\_read\_write, read\_write |
| **Address Space Qualifiers** | [**local**(3clc)](/local/3clc.md) [**global**(3clc)](/global/3clc.md) [**constant**(3clc)](/constant/3clc.md) [**private**(3clc)](/private/3clc.md) |
| [**functionQualifiers**(3clc)](/functionQualifiers/3clc.md) | \_\_kernel, kernel \_\_attribute\_\_ with work\_group\_size\_hint, reqd\_work\_group\_size, vec\_type\_hint |
| [**attributes-types**(3clc)](/attributes-types/3clc.md) | \_\_attribute\_\_ with aligned, packed |
| [**attributes-variables**(3clc)](/attributes-variables/3clc.md) | \_\_attribute\_\_ with aligned, packed, endian |
| [**attributes-blocksAndControlFlow**(3clc)](/attributes-blocksAndControlFlow/3clc.md) | \_\_attribute\_\_ |
| [**storageQualifiers**(3clc)](/storageQualifiers/3clc.md) | 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 [**otherDataTypes**(3clc)](/otherDataTypes/3clc.md), [**otherDataTypes**(3clc)](/otherDataTypes/3clc.md), [**otherDataTypes**(3clc)](/otherDataTypes/3clc.md), [**otherDataTypes**(3clc)](/otherDataTypes/3clc.md), [**otherDataTypes**(3clc)](/otherDataTypes/3clc.md) and [**otherDataTypes**(3clc)](/otherDataTypes/3clc.md) types. Types other than pointer types shall not use the restrict qualifier. |

## SPECIFICATION

**OpenCL Specification**\[1\]

## AUTHORS

**The Khronos Group**

## COPYRIGHT

Copyright © 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.

## NOTES

- 1\.

  OpenCL Specification

  page 222, section 6.5 - Address Space Qualifiers
