Skip to content

Commit d59ccb9

Browse files
committed
Add semicolons to khr_group_interface synopses
1 parent 008ac23 commit d59ccb9

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

adoc/extensions/sycl_khr_group_interface.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ bool leader_of(Group g) noexcept;
9090
.[apidef]#GroupT::id#
9191
[source,role=synopsis,id=api:khr-group-interface-common-group-id]
9292
----
93-
id_type id() const noexcept
93+
id_type id() const noexcept;
9494
----
9595

9696
_Returns_: The index of this group within the index space returned by
@@ -101,7 +101,7 @@ _Returns_: The index of this group within the index space returned by
101101
.[apidef]#GroupT::linear_id#
102102
[source,role=synopsis,id=api:khr-group-interface-common-group-linear-id]
103103
----
104-
linear_id_type linear_id() const noexcept
104+
linear_id_type linear_id() const noexcept;
105105
----
106106

107107
_Returns_: The linearized index (see <<sec:multi-dim-linearization>>) of this
@@ -112,7 +112,7 @@ group within the index space returned by [code]#range()#.
112112
.[apidef]#GroupT::range#
113113
[source,role=synopsis,id=api:khr-group-interface-common-group-range]
114114
----
115-
range_type range() const noexcept
115+
range_type range() const noexcept;
116116
----
117117

118118
_Returns_: An index space representing the collection of groups that includes
@@ -124,7 +124,7 @@ group.
124124
.[apidef]#GroupT::extents#
125125
[source,role=synopsis,id=api:khr-group-interface-common-group-extents]
126126
----
127-
constexpr extents_type extents() const noexcept
127+
constexpr extents_type extents() const noexcept;
128128
----
129129

130130
_Returns_: The number of work-items in each dimension of the group.
@@ -134,7 +134,7 @@ _Returns_: The number of work-items in each dimension of the group.
134134
.[apidef]#GroupT::extent#
135135
[source,role=synopsis,id=api:khr-group-interface-common-group-extent]
136136
----
137-
constexpr index_type extent(rank_type r) const noexcept
137+
constexpr index_type extent(rank_type r) const noexcept;
138138
----
139139

140140
_Preconditions_: [code]#r < dimensions# is [code]#true#.
@@ -176,7 +176,7 @@ _Effects_: Equivalent to [code]#return extents_type::static_extent(r);#.
176176
.[apidef]#GroupT::size#
177177
[source,role=synopsis,id=api:common-group-size]
178178
----
179-
constexpr size_type size() const noexcept
179+
constexpr size_type size() const noexcept;
180180
----
181181

182182
_Returns_: The total number of work-items in the group, equal to the product of
@@ -191,7 +191,7 @@ the number of work-items in each dimension of the group.
191191
[source,role=synopsis,id=api:common-group-get-item]
192192
----
193193
template <typename Group>
194-
work_item<Group> get_item(Group g) noexcept
194+
work_item<Group> get_item(Group g) noexcept;
195195
----
196196

197197
_Constraints_: Available only if `Group` is `work_group` or `sub_group`.
@@ -205,7 +205,7 @@ _Returns_: A [code]#work_item# representing the calling work-item within group
205205
[source,role=synopsis,id=api:common-group-leader_of]
206206
----
207207
template <typename Group>
208-
bool leader_of(Group g) noexcept
208+
bool leader_of(Group g) noexcept;
209209
----
210210

211211
_Returns_: [code]#true# if the calling work-item is the leader of group
@@ -265,7 +265,7 @@ class work_group {
265265
.[apidef]#work_group constructor#
266266
[source,role=synopsis,id=api:khr-group-interface-work-group-constructor]
267267
----
268-
work_group(group<Dimensions> g) noexcept
268+
work_group(group<Dimensions> g) noexcept;
269269
----
270270

271271
_Effects_: Constructs a [code]#work_group# representing the same collection of
@@ -332,7 +332,7 @@ class sub_group {
332332
.[apidef]#sub_group constructor#
333333
[source,role=synopsis,id=api:khr-group-interface-sub-group-constructor]
334334
----
335-
sub_group(sycl::sub_group sg) noexcept
335+
sub_group(sycl::sub_group sg) noexcept;
336336
----
337337

338338
_Effects_: Constructs a [code]#sub_group# representing the same collection of

0 commit comments

Comments
 (0)