Skip to content

Commit 92a88d3

Browse files
committed
remove the Extending Attribute Qualifiers section
1 parent 1dfc9b4 commit 92a88d3

2 files changed

Lines changed: 3 additions & 17 deletions

File tree

OpenCL_C.txt

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4659,23 +4659,6 @@ compile-time constant expression.
46594659
--
46604660

46614661

4662-
[[extending-attribute-qualifiers]]
4663-
=== Extending Attribute Qualifiers
4664-
4665-
The attribute syntax can be extended for standard language extensions and
4666-
vendor specific extensions.
4667-
4668-
Attributes are intended as useful hints to the compiler.
4669-
It is our intention that a particular implementation of OpenCL be free to
4670-
ignore all attributes and the resulting executable binary will produce the
4671-
same result.
4672-
This does not preclude an implementation from making use of the additional
4673-
information provided by attributes and performing optimizations or other
4674-
transformations as it sees fit.
4675-
In this case it is the programmer's responsibility to guarantee that the
4676-
information provided is in some sense correct.
4677-
4678-
46794662
[[blocks]]
46804663
== Blocks
46814664

api/appendix_extensions.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ convention:
6767
form *cl_<__type_name__>_<__vendor_tag__>.*
6868
* All API functions defined by the vendor extension should have names of the
6969
form *cl<__function_name__><__VENDOR_TAG__>*.
70+
* All OpenCL C functions, types, and attribute qualifiers defined by the
71+
vendor extension should have names of the form
72+
*<__vendor_tag__>_<__name__>*.
7073

7174
Vendor extensions are not currently included in the OpenCL specifications, but
7275
vendor extension specifications are frequently included in the online Registry

0 commit comments

Comments
 (0)