Skip to content

Commit

Permalink
Merge pull request #482 from gmlueck/gmlueck/no-link-spaces
Browse files Browse the repository at this point in the history
Use hyphens in reference names
  • Loading branch information
gmlueck authored Nov 3, 2023
2 parents 5ed12dd + d6c6ad4 commit 2b93090
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions adoc/chapters/device_compiler.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ void h() {
}
----

In order for the SYCL device compiler to correctly compile <<device function, device functions>>, all
functions in the source file, whether <<device function, device functions>> or not, must be
In order for the SYCL device compiler to correctly compile <<device-function, device functions>>, all
functions in the source file, whether <<device-function, device functions>> or not, must be
syntactically correct functions according to this specification. A syntactically
correct function adheres to at least the minimum required {cpp} version
defined in <<sec:progmodel.minimumcppversion>>.
Expand Down
2 changes: 1 addition & 1 deletion adoc/chapters/glossary.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
An accessor is a class which allows a <<command>> to access data managed
by a <<buffer>> or <<image>> class or allows a <<sycl-kernel-function>>
to access local memory on a <<device>>. Accessors are also used to express
the dependencies among the different <<command group, command groups>>.
the dependencies among the different <<command-group, command groups>>.
For the full description please refer to <<subsec:accessors>>

[[application-scope]]application scope::
Expand Down
2 changes: 1 addition & 1 deletion adoc/chapters/opencl_backend.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ is represented by a [code]#cl_kernel# and must be compiled and linked via a
[code]#cl_program# using [code]#clBuildProgram#,
[code]#clCompileProgram# and [code]#clLinkProgram#.

For OpenCL <<backend>> this detail is abstracted away by <<kernel bundle,kernel bundles>> and
For OpenCL <<backend>> this detail is abstracted away by <<kernel-bundle,kernel bundles>> and
a [code]#kernel_bundle# object containing all <<sycl-kernel-function,SYCL kernel functions>>
is retrieved by calling the free function [code]#get_kernel_bundle#.

Expand Down
6 changes: 3 additions & 3 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14343,7 +14343,7 @@ overhead associated with recompilation of the kernel's bundle.
Specialization constants must be declared using the [code]#specialization_id#
class with the following restrictions:

* the template parameter [code]#T# must be a <<device copyable>> type;
* the template parameter [code]#T# must be a <<device-copyable>> type;
* the [code]#specialization_id# variable must be declared as [code]#constexpr#;
* the [code]#specialization_id# variable must be declared in either namespace
scope or in class scope;
Expand Down Expand Up @@ -14546,7 +14546,7 @@ invoked directly by the SYCL runtime, regardless of which <<device>> the

A <<host-task>> is enqueued on a <<queue>> via the [code]#host_task#
member function of the [code]#handler# class.
The <<event>> returned by the submission of the associated <<command group>>
The <<event>> returned by the submission of the associated <<command-group>>
enters the completed state (corresponding to a status of
[code]#info::event_command_status::complete#) once the invocation of the
provided {cpp} callable has returned.
Expand Down Expand Up @@ -19800,7 +19800,7 @@ T operator()(const T& x, const T& y) const
SYCL provides a number of functions that expose functionality tied to groups of
work-items (such as <<group-barrier,group barriers>> and collective operations).
These group functions act as synchronization points and must be encountered in
converged <<control flow>> by all work-items in the group. If one work-item in
converged <<control-flow>> by all work-items in the group. If one work-item in
a group calls a group function, then all work-items in that group must call
exactly the same function under the same set of conditions --- calling the same
function under different conditions (e.g. in different iterations of a loop, or
Expand Down

0 comments on commit 2b93090

Please sign in to comment.