Skip to content

Commit 6866fbd

Browse files
authored
editorial: fix asciidoctor attributes for -cl-std=CLC++ (#1354)
1 parent 5d73119 commit 6866fbd

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

api/cl_ext_cxx_for_opencl.asciidoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ supported by the device compiler.
3434

3535
=== New build option
3636

37-
This extension adds support for a new `CLC++` value to be passed to the
37+
This extension adds support for a new `CLC{pp}` value to be passed to the
3838
`-cl-std` build option accepted by {clBuildProgram} and {clCompileProgram}.
3939

4040
=== Preprocessor Macros
@@ -48,9 +48,9 @@ macros".
4848

4949
=== Conformance tests
5050

51-
. Test that a program can successfully be compiled with `-cl-std=CLC++`.
52-
. Test with a program compiled with `-cl-std=CLC++` that the value of the
53-
+__OPENCL_CPP_VERSION__+ macro agrees with the version returned by
51+
. Test that a program can successfully be compiled with `-cl-std=CLC{pp}`.
52+
. Test with a program compiled with `-cl-std=CLC{pp}` that the value of the
53+
`+__OPENCL_CPP_VERSION__+` macro agrees with the version returned by
5454
`CL_DEVICE_CXX_FOR_OPENCL_NUMERIC_VERSION_EXT`.
5555

5656
=== Version History

api/opencl_runtime_layer.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10096,8 +10096,8 @@ IMPORTANT: Debugging options are <<unified-spec, missing before>> version 2.0.
1009610096
ifdef::cl_ext_cxx_for_opencl[]
1009710097
==== C++ for OpenCL
1009810098

10099-
Applications may pass `-cl-std=CLC\++` to {clCompileProgram} or {clBuildProgram}
10100-
for programs created using {clCreateProgramFromSource} to request the program
10099+
Applications may pass `-cl-std=CLC{pp}` to {clCompileProgram} or {clBuildProgram}
10100+
for programs created using {clCreateProgramWithSource} to request the program
1010110101
be built as C++ for OpenCL.
1010210102
endif::cl_ext_cxx_for_opencl[]
1010310103

0 commit comments

Comments
 (0)