File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
7174Vendor extensions are not currently included in the OpenCL specifications, but
7275vendor extension specifications are frequently included in the online Registry
You can’t perform that action at this time.
0 commit comments