Skip to content

Commit a920b53

Browse files
authored
[SYCL][Doc] Use "a std::" instead of "an std::" (#12374)
When referring to the `std` namespace use `a` instead of `an` (because the pronunciation is "a stood namespace" not "an s-t-d namespace"). This is consistent with cppreference and the C++ specification.
1 parent 38ce764 commit a920b53

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sycl/doc/extensions/experimental/sycl_ext_intel_online_compiler.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public:
6464

6565
=== Compiler API
6666

67-
To compile a source, a user program must first construct an instance of the `sycl::ext::intel::online_compiler` class. Then pass the source as an `std::string` object to online compiler's `compile` function along with other relevant parameters. The `online_compiler` is templated by the source language, and the `compile` function is a variadic template function. Instantiations of the `online_compiler::compile` for different languages may have different sets of formal parameters. The `compile` function returns a binary blob - an `std::vector<unsigned char>` - with the device code compiled according to the compilation target specification provided at online compiler construction time.
67+
To compile a source, a user program must first construct an instance of the `sycl::ext::intel::online_compiler` class. Then pass the source as a `std::string` object to online compiler's `compile` function along with other relevant parameters. The `online_compiler` is templated by the source language, and the `compile` function is a variadic template function. Instantiations of the `online_compiler::compile` for different languages may have different sets of formal parameters. The `compile` function returns a binary blob - a `std::vector<unsigned char>` - with the device code compiled according to the compilation target specification provided at online compiler construction time.
6868

6969
==== Online compiler
7070
[source,c++]

sycl/doc/extensions/experimental/sycl_ext_oneapi_kernel_compiler.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ kernel_bundle<bundle_state::ext_oneapi_source> create_kernel_bundle_from_source(
187187
!====
188188

189189
_Preconditions:_ There are two overloads of this function: one that reads the
190-
source code of the kernel from an `std::string`, and one that reads the source
191-
code of the kernel from an `std::vector` of `std::byte`.
190+
source code of the kernel from a `std::string`, and one that reads the source
191+
code of the kernel from a `std::vector` of `std::byte`.
192192
Each source language `lang` specifies whether the language is text format or
193193
binary format, and the application must use the overload that corresponds to
194194
that format.

0 commit comments

Comments
 (0)