Skip to content

Commit

Permalink
Merge pull request #561 from gmlueck/gmlueck/no-listing-xrefs
Browse files Browse the repository at this point in the history
Remove "listing" cross references
  • Loading branch information
gmlueck committed Jun 12, 2024
1 parent 1694264 commit 9fa5242
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 deletions.
3 changes: 1 addition & 2 deletions adoc/chapters/device_compiler.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -615,12 +615,11 @@ values in the [code]#sycl::aspect# enumeration type (including any extended
values the implementation may provide). If it does not, the program is ill
formed and the compiler must issue a diagnostic.

See <<listing:device-has>> for an example of this attribute.
See below for an example of this attribute.

|====

.Example of the [code]#sycl::device_has()# attribute
[[listing:device-has]]
[source,,linenums]
----
include::{code_dir}/deviceHas.cpp[lines=4..-1]
Expand Down
4 changes: 2 additions & 2 deletions adoc/chapters/glossary.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ For the full description please refer to <<subsec:buffers>>.
Variables defined in one work-item's private memory are not visible to
another work-item.
The [code]#sycl::private_memory# class provides access to the work-item's
private memory for the hierarchical API as it is described at
<<paragraph.private.memory>>.
private memory for the hierarchical API as it is described in
<<sec:parallel-for-hierarchical>>.

[[queue]]queue::
A SYCL command queue is an object that holds command groups to be executed
Expand Down
5 changes: 1 addition & 4 deletions adoc/chapters/programming_interface.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13926,6 +13926,7 @@ include::{code_dir}/parallelForWithKernelHandler.cpp[lines=4..-1]
----


[[sec:parallel-for-hierarchical]]
===== Parallel for hierarchical invoke

The hierarchical parallel kernel execution interface provides the same
Expand Down Expand Up @@ -13964,8 +13965,6 @@ data.

The [code]#private_memory# class has the following interface:

[[paragraph.private.memory]]
.Private memory class
[source,,linenums]
----
include::{header_dir}/priv.h[lines=4..-1]
Expand Down Expand Up @@ -20115,8 +20114,6 @@ group to execute an operation over a range of iterators and algorithms which are
applied to data held directly by the work-items in a group.
An example of the usage of these functions is given below:

[[listing.group.algorithms]]
.Using the group algorithms library to perform a work-group reduce
[source,,linenums]
----
include::{code_dir}/algorithms.cpp[lines=4..-1]
Expand Down
4 changes: 1 addition & 3 deletions adoc/syclbase.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@ include::config/attribs.adoc[]

// This causes cross references to chapters, sections, and tables to be
// rendered as "Section A.B" (for example) rather than rendering the reference
// as the text of the section title. It also enables cross references to
// [source] blocks as "Listing N", but only if the [source] block has a title.
// as the text of the section title.
:xrefstyle: short
:listing-caption: Listing

// Original SYCL title page has:
// image:logos/Khronos_Tagline_500px_June18.png (upper right)
Expand Down

0 comments on commit 9fa5242

Please sign in to comment.