The macros for OpenCL C features are currently defined manually in c/feature-dictionary.asciidoc. Here is an example:
// opencl_c_kernel_clock_scope_sub_group
ifdef::backend-html5[]
:opencl_c_kernel_clock_scope_sub_group: pass:q[`\__opencl_c_<wbr>kernel_<wbr>clock_<wbr>scope_<wbr>sub_<wbr>group`]
endif::[]
ifndef::backend-html5[]
:opencl_c_kernel_clock_scope_sub_group: pass:q[`\__opencl_c_​kernel_​clock_​scope_​sub_​group`]
endif::[]
Authoring these manually is tedious and error prone. They should be generated from the XML.
The macros for OpenCL C features are currently defined manually in
c/feature-dictionary.asciidoc. Here is an example:Authoring these manually is tedious and error prone. They should be generated from the XML.