Scroll to navigation

QUALIFIERS(3clc) OpenCL Manual QUALIFIERS(3clc)

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) __read_only, read_only __write_only, write_only __read_write, read_write

Address Space Qualifiers local(3clc) global(3clc) constant(3clc) private(3clc)

functionQualifiers(3clc) __kernel, kernel __attribute__ with work_group_size_hint, reqd_work_group_size, vec_type_hint

attributes-types(3clc) __attribute__ with aligned, packed
attributes-variables(3clc) __attribute__ with aligned, packed, endian
attributes-blocksAndControlFlow(3clc) __attribute__
storageQualifiers(3clc) 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), otherDataTypes(3clc), otherDataTypes(3clc), otherDataTypes(3clc) and otherDataTypes(3clc) 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
02/03/2019 The Khronos Group