Skip to content

Commit 05c7ca1

Browse files
authored
Merge pull request #988 from gmlueck/me/not-unresolved-refs
Avoid some undefined attribute warnings
2 parents 9e5c9fa + 990312e commit 05c7ca1

3 files changed

Lines changed: 16 additions & 15 deletions

File tree

adoc/chapters/architecture.adoc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,22 +1675,23 @@ Some multi-dimensional objects can be viewed in a linear form.
16751675
When this happens, the right-most term in the object's range varies fastest in
16761676
the linearization.
16771677

1678-
A three-dimensional element [code]#id{id0, id1, id2}# within a three-dimensional
1679-
object of range [code]#range{r0, r1, r2}# has a linear position defined by:
1678+
A three-dimensional element [code]#+id{id0, id1, id2}+# within a
1679+
three-dimensional object of range [code]#+range{r0, r1, r2}+# has a linear
1680+
position defined by:
16801681
[latexmath]
16811682
++++
16821683
id2 + (id1 \cdot r2) + (id0 \cdot r1 \cdot r2)
16831684
++++
16841685

1685-
A two-dimensional element [code]#id{id0, id1}# within a two-dimensional
1686-
[code]#range{r0, r1}# follows a similar equation:
1686+
A two-dimensional element [code]#+id{id0, id1}+# within a two-dimensional
1687+
[code]#+range{r0, r1}+# follows a similar equation:
16871688
[latexmath]
16881689
++++
16891690
id1 + (id0 \cdot r1)
16901691
++++
16911692

1692-
A one-dimensional element [code]#id{id0}# within a one-dimensional range
1693-
[code]#range{r0}# is equivalent to its linear form.
1693+
A one-dimensional element [code]#+id{id0}+# within a one-dimensional range
1694+
[code]#+range{r0}+# is equivalent to its linear form.
16941695

16951696

16961697
[[sec:multi-dim-subscript]]
@@ -1700,11 +1701,11 @@ Some multi-dimensional objects can be indexed using the subscript operator where
17001701
consecutive subscript operators correspond to each dimension.
17011702
The right-most operator varies fastest, as with standard {cpp} arrays.
17021703
Formally, a three-dimensional subscript access [code]#a[id0][id1][id2]#
1703-
references the element at [code]#id{id0, id1, id2}#.
1704+
references the element at [code]#+id{id0, id1, id2}+#.
17041705
A two-dimensional subscript access [code]#a[id0][id1]# references the element at
1705-
[code]#id{id0, id1}#.
1706+
[code]#+id{id0, id1}+#.
17061707
A one-dimensional subscript access [code]#a[id0]# references the element at
1707-
[code]#id{id0}#.
1708+
[code]#+id{id0}+#.
17081709

17091710

17101711
== Implementation options

adoc/chapters/opencl_backend.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ The following section describes the OpenCL-specific API.
491491
=== Construct SYCL objects from OpenCL ones
492492

493493
The OpenCL backend provides the following specializations of the
494-
[code]#make_{sycl_class}# template functions which are defined in
494+
[code]#+make_{sycl_class}+# template functions which are defined in
495495
<<sec:backend-interoperability-make>>.
496496
These functions are in the [code]#sycl# namespace.
497497

@@ -901,7 +901,7 @@ kernel query" column applies for kernels defined through OpenCL interop.
901901
|====
902902
| SYCL kernel query | OpenCL kernel query | Returned Value
903903

904-
3+|With enqueued 3D SYCL global [code]#range# of [code]#range<3> R{r0,r1,r2}#
904+
3+|With enqueued 3D SYCL global [code]#range# of [code]#+range<3> R{r0,r1,r2}+#
905905
| nd_item::get_global_range(0) / item::get_range(0)
906906
| get_global_size(2)
907907
| [code]#r0#
@@ -921,7 +921,7 @@ kernel query" column applies for kernels defined through OpenCL interop.
921921
| get_global_id(0)
922922
| Value in range 0..([code]#r2-1)}#
923923

924-
3+|With enqueued 2D SYCL global [code]#range# of [code]#range<2> R{r0,r1}#
924+
3+|With enqueued 2D SYCL global [code]#range# of [code]#+range<2> R{r0,r1}+#
925925
| nd_item::get_global_range(0) / item::get_range(0)
926926
| get_global_size(1)
927927
| [code]#r0#
@@ -935,7 +935,7 @@ kernel query" column applies for kernels defined through OpenCL interop.
935935
| get_global_id(0)
936936
| Value in range 0..([code]#r1-1)}#
937937

938-
3+|With enqueued 1D SYCL global [code]#range# of [code]#range<1> R{r0}#
938+
3+|With enqueued 1D SYCL global [code]#range# of [code]#+range<1> R{r0}+#
939939
| nd_item::get_global_range(0) / item::get_range(0)
940940
| get_global_size(0)
941941
| [code]#r0#

adoc/chapters/programming_interface.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,13 +281,13 @@ include::{header_dir}/interop/templateFunctionMakeX.h[lines=4..-1]
281281

282282
For each <<sycl-runtime>> class [code]#T# which supports <<sycl-application>>
283283
interoperability, a specialization of the appropriate template function
284-
[code]#make_{sycl_class}# where [code]#{sycl_class}# is the class name of
284+
[code]#+make_{sycl_class}+# where [code]#+{sycl_class}+# is the class name of
285285
[code]#T#, must be defined, which takes a <<sycl-application>> interoperability
286286
<<native-backend-object>> and constructs and returns an instance of [code]#T#.
287287
The availability and behavior of these template functions are defined by the
288288
<<backend>> specification document.
289289

290-
Overloads of the [code]#make_{sycl_class}# function which take a SYCL
290+
Overloads of the [code]#+make_{sycl_class}+# function which take a SYCL
291291
<<context>> object as an argument must throw an [code]#exception# with the
292292
[code]#errc::backend_mismatch# error code if the backend of the provided SYCL
293293
context doesn't match the target backend.

0 commit comments

Comments
 (0)