Skip to content

Commit

Permalink
define __opencl_c_<feature_name> outside of the list of features
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Change-Id: I8e0947c30775338dd70803d09c7059d340e86f5a
  • Loading branch information
kpet committed Aug 9, 2024
1 parent 75c8ba4 commit 40ad531
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 8 additions & 0 deletions c/feature-dictionary.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@
// Creative Commons Attribution 4.0 International License; see
// http://creativecommons.org/licenses/by/4.0/

// “generic” opencl_c_feature_name
ifdef::backend-html5[]
:opencl_c_feature_name: pass:q[`\__opencl_c_<wbr>&lt;feature_<wbr>name&gt;`]
endif::[]
ifndef::backend-html5[]
:opencl_c_feature_name: pass:q[`\__opencl_c_&#8203;&lt;feature_&#8203;name&gt;`]
endif::[]

include::{generated}/meta/c-feature-dictionary.asciidoc[]
1 change: 0 additions & 1 deletion c/features.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
__opencl_c_feature_name
__opencl_c_3d_image_writes
__opencl_c_atomic_order_acq_rel
__opencl_c_atomic_order_seq_cst
Expand Down

0 comments on commit 40ad531

Please sign in to comment.