@@ -91,29 +91,29 @@ bool leader_of(const Group& g) noexcept;
9191[[sec:khr-group-interface-common-member-funcs]]
9292=== Member functions
9393
94- .[apidef]#+__group__::id+#
94+ .[apidef]#+khr:: __group__::id+#
9595[source,role=synopsis,id=api:khr-group-interface-common-group-id]
9696----
9797id_type id() const noexcept;
9898----
9999
100100_Returns_: The index of this group within the index space returned by
101- [api]#+__group__::range+#.
101+ [api]#+khr:: __group__::range+#.
102102
103103'''
104104
105- .[apidef]#+__group__::linear_id+#
105+ .[apidef]#+khr:: __group__::linear_id+#
106106[source,role=synopsis,id=api:khr-group-interface-common-group-linear-id]
107107----
108108linear_id_type linear_id() const noexcept;
109109----
110110
111111_Returns_: The linearized index (see <<sec:multi-dim-linearization>>) of this
112- group within the index space returned by [api]#+__group__::range+#.
112+ group within the index space returned by [api]#+khr:: __group__::range+#.
113113
114114'''
115115
116- .[apidef]#+__group__::range+#
116+ .[apidef]#+khr:: __group__::range+#
117117[source,role=synopsis,id=api:khr-group-interface-common-group-range]
118118----
119119range_type range() const noexcept;
@@ -125,7 +125,7 @@ group.
125125
126126'''
127127
128- .[apidef]#+__group__::extents+#
128+ .[apidef]#+khr:: __group__::extents+#
129129[source,role=synopsis,id=api:khr-group-interface-common-group-extents]
130130----
131131constexpr extents_type extents() const noexcept;
@@ -137,7 +137,7 @@ _Returns_: The number of work-items in each dimension of the group.
137137
138138'''
139139
140- .[apidef]#+__group__::extent+#
140+ .[apidef]#+khr:: __group__::extent+#
141141[source,role=synopsis,id=api:khr-group-interface-common-group-extent]
142142----
143143constexpr extents_type::index_type extent(extents_type::rank_type r) const noexcept;
@@ -151,7 +151,7 @@ _Returns_: The number of work-items in the specified dimension of the group.
151151
152152'''
153153
154- .[apidef]#+__group__::rank+#
154+ .[apidef]#+khr:: __group__::rank+#
155155[source,role=synopsis,id=api:khr-group-interface-common-group-rank]
156156----
157157static constexpr extents_type::rank_type rank() noexcept;
@@ -163,7 +163,7 @@ _Effects_: Equivalent to [code]#return extents_type::rank();#.
163163
164164'''
165165
166- .[apidef]#+__group__::rank_dynamic+#
166+ .[apidef]#+khr:: __group__::rank_dynamic+#
167167[source,role=synopsis,id=api:khr-group-interface-common-group-rank_dynamic]
168168----
169169static constexpr extents_type::rank_type rank_dynamic() noexcept;
@@ -175,7 +175,7 @@ _Effects_: Equivalent to [code]#return extents_type::rank_dynamic();#.
175175
176176'''
177177
178- .[apidef]#+__group__::static_extent+#
178+ .[apidef]#+khr:: __group__::static_extent+#
179179[source,role=synopsis,id=api:khr-group-interface-common-group-static_extent]
180180----
181181static constexpr size_t static_extent(extents_type::rank_type r) noexcept;
@@ -187,7 +187,7 @@ _Effects_: Equivalent to [code]#return extents_type::static_extent(r);#.
187187
188188'''
189189
190- .[apidef]#+__group__::size+#
190+ .[apidef]#+khr:: __group__::size+#
191191[source,role=synopsis,id=api:common-group-size]
192192----
193193size_type size() const noexcept;
@@ -294,7 +294,7 @@ class work_group {
294294} // namespace sycl::khr
295295----
296296
297- .[apititle]#work_group constructor#
297+ .[apititle]#khr:: work_group constructor#
298298[source,role=synopsis,id=api:khr-group-interface-work-group-constructor]
299299----
300300work_group(const group<Dimensions>& g) noexcept;
@@ -305,7 +305,7 @@ work-items as [code]#g#.
305305
306306'''
307307
308- .[apititle]#work_group conversion operator#
308+ .[apititle]#khr:: work_group conversion operator#
309309[source,role=synopsis,id=api:khr-group-interface-work-group-conversion-operator]
310310----
311311operator group<Dimensions>() const noexcept;
@@ -316,7 +316,7 @@ this [code]#work_group#.
316316
317317'''
318318
319- .[apidef]#+work_group::id+#
319+ .[apidef]#+khr:: work_group::id+#
320320[source,role=synopsis,id=api:khr-group-interface-work-group-id]
321321----
322322id_type id() const noexcept;
@@ -326,7 +326,7 @@ _Returns_: The index of this work-group within the <<nd-range>>.
326326
327327'''
328328
329- .[apidef]#+work_group::linear_id+#
329+ .[apidef]#+khr:: work_group::linear_id+#
330330[source,role=synopsis,id=api:khr-group-interface-work-group-linear-id]
331331----
332332linear_id_type linear_id() const noexcept;
@@ -337,7 +337,7 @@ work-group within the <<nd-range>>.
337337
338338'''
339339
340- .[apidef]#+work_group::range+#
340+ .[apidef]#+khr:: work_group::range+#
341341[source,role=synopsis,id=api:khr-group-interface-work-group-range]
342342----
343343range_type range() const noexcept;
@@ -347,7 +347,7 @@ _Returns_: An index space representing all work-groups in the <<nd-range>>.
347347
348348'''
349349
350- .[apidef]#+work_group::extents+#
350+ .[apidef]#+khr:: work_group::extents+#
351351[source,role=synopsis,id=api:khr-group-interface-work-group-extents]
352352----
353353extents_type extents() const noexcept;
@@ -359,7 +359,7 @@ _Returns_: The number of work-items in each dimension of the work-group.
359359
360360'''
361361
362- .[apidef]#+work_group::extent+#
362+ .[apidef]#+khr:: work_group::extent+#
363363[source,role=synopsis,id=api:khr-group-interface-work-group-extent]
364364----
365365extents_type::index_type extent(extents_type::rank_type r) const noexcept;
@@ -374,7 +374,7 @@ work-group.
374374
375375'''
376376
377- .[apidef]#+work_group::rank+#
377+ .[apidef]#+khr:: work_group::rank+#
378378[source,role=synopsis,id=api:khr-group-interface-work-group-rank]
379379----
380380static constexpr extents_type::rank_type rank() noexcept;
@@ -386,7 +386,7 @@ _Effects_: Equivalent to [code]#return extents_type::rank();#.
386386
387387'''
388388
389- .[apidef]#+work_group::rank_dynamic+#
389+ .[apidef]#+khr:: work_group::rank_dynamic+#
390390[source,role=synopsis,id=api:khr-group-interface-work-group-rank_dynamic]
391391----
392392static constexpr extents_type::rank_type rank_dynamic() noexcept;
@@ -398,7 +398,7 @@ _Effects_: Equivalent to [code]#return extents_type::rank_dynamic();#.
398398
399399'''
400400
401- .[apidef]#+work_group::static_extent+#
401+ .[apidef]#+khr:: work_group::static_extent+#
402402[source,role=synopsis,id=api:khr-group-interface-work-group-static_extent]
403403----
404404static constexpr size_t static_extent(extents_type::rank_type r) noexcept;
@@ -410,7 +410,7 @@ _Effects_: Equivalent to [code]#return extents_type::static_extent(r);#.
410410
411411'''
412412
413- .[apidef]#+work_group::size+#
413+ .[apidef]#+khr:: work_group::size+#
414414[source,role=synopsis,id=api:khr-group-interface-work-group-size]
415415----
416416size_type size() const noexcept;
@@ -479,7 +479,7 @@ class sub_group {
479479} // namespace sycl::khr
480480----
481481
482- .[apititle]#sub_group constructor#
482+ .[apititle]#khr:: sub_group constructor#
483483[source,role=synopsis,id=api:khr-group-interface-sub-group-constructor]
484484----
485485sub_group(const sycl::sub_group& sg) noexcept;
@@ -490,7 +490,7 @@ work-items as [code]#sg#.
490490
491491'''
492492
493- .[apititle]#sub_group conversion operator#
493+ .[apititle]#khr:: sub_group conversion operator#
494494[source,role=synopsis,id=api:khr-group-interface-sub-group-conversion-operator]
495495----
496496operator sycl::sub_group() const noexcept;
@@ -501,7 +501,7 @@ work-items as this [code]#sub_group#.
501501
502502'''
503503
504- .[apidef]#+sub_group::id+#
504+ .[apidef]#+khr:: sub_group::id+#
505505[source,role=synopsis,id=api:khr-group-interface-sub-group-id]
506506----
507507id_type id() const noexcept;
@@ -511,7 +511,7 @@ _Returns_: The index of this sub-group within its parent work-group.
511511
512512'''
513513
514- .[apidef]#+sub_group::linear_id+#
514+ .[apidef]#+khr:: sub_group::linear_id+#
515515[source,role=synopsis,id=api:khr-group-interface-sub-group-linear-id]
516516----
517517linear_id_type linear_id() const noexcept;
@@ -522,7 +522,7 @@ sub-group within its parent work-group.
522522
523523'''
524524
525- .[apidef]#+sub_group::range+#
525+ .[apidef]#+khr:: sub_group::range+#
526526[source,role=synopsis,id=api:khr-group-interface-sub-group-range]
527527----
528528range_type range() const noexcept;
@@ -532,7 +532,7 @@ _Returns_: An index space representing all sub-groups in the same work-group.
532532
533533'''
534534
535- .[apidef]#+sub_group::extents+#
535+ .[apidef]#+khr:: sub_group::extents+#
536536[source,role=synopsis,id=api:khr-group-interface-sub-group-extents]
537537----
538538extents_type extents() const noexcept;
@@ -544,7 +544,7 @@ _Returns_: The number of work-items in each dimension of the sub-group.
544544
545545'''
546546
547- .[apidef]#+sub_group::extent+#
547+ .[apidef]#+khr:: sub_group::extent+#
548548[source,role=synopsis,id=api:khr-group-interface-sub-group-extent]
549549----
550550extents_type::index_type extent(extents_type::rank_type r) const noexcept;
@@ -558,7 +558,7 @@ _Returns_: The number of work-items in the specified dimension of the sub-group.
558558
559559'''
560560
561- .[apidef]#+sub_group::rank+#
561+ .[apidef]#+khr:: sub_group::rank+#
562562[source,role=synopsis,id=api:khr-group-interface-sub-group-rank]
563563----
564564static constexpr extents_type::rank_type rank() noexcept;
@@ -570,7 +570,7 @@ _Effects_: Equivalent to [code]#return extents_type::rank();#.
570570
571571'''
572572
573- .[apidef]#+sub_group::rank_dynamic+#
573+ .[apidef]#+khr:: sub_group::rank_dynamic+#
574574[source,role=synopsis,id=api:khr-group-interface-sub-group-rank_dynamic]
575575----
576576static constexpr extents_type::rank_type rank_dynamic() noexcept;
@@ -582,7 +582,7 @@ _Effects_: Equivalent to [code]#return extents_type::rank_dynamic();#.
582582
583583'''
584584
585- .[apidef]#+sub_group::static_extent+#
585+ .[apidef]#+khr:: sub_group::static_extent+#
586586[source,role=synopsis,id=api:khr-group-interface-sub-group-static_extent]
587587----
588588static constexpr size_t static_extent(extents_type::rank_type r) noexcept;
@@ -594,7 +594,7 @@ _Effects_: Equivalent to [code]#return extents_type::static_extent(r);#.
594594
595595'''
596596
597- .[apidef]#+sub_group::size+#
597+ .[apidef]#+khr:: sub_group::size+#
598598[source,role=synopsis,id=api:khr-group-interface-sub-group-size]
599599----
600600size_type size() const noexcept;
@@ -677,7 +677,7 @@ class member_item {
677677} // namespace sycl::khr
678678----
679679
680- .[apidef]#+member_item::id+#
680+ .[apidef]#+khr:: member_item::id+#
681681[source,role=synopsis,id=api:khr-group-interface-member-item-id]
682682----
683683id_type id() const noexcept;
@@ -687,7 +687,7 @@ _Returns_: The index of this member-item within its parent group.
687687
688688'''
689689
690- .[apidef]#+member_item::linear_id+#
690+ .[apidef]#+khr:: member_item::linear_id+#
691691[source,role=synopsis,id=api:khr-group-interface-member-item-linear-id]
692692----
693693linear_id_type linear_id() const noexcept;
@@ -698,7 +698,7 @@ member-item within its parent group.
698698
699699'''
700700
701- .[apidef]#+member_item::range+#
701+ .[apidef]#+khr:: member_item::range+#
702702[source,role=synopsis,id=api:khr-group-interface-member-item-range]
703703----
704704range_type range() const noexcept;
@@ -708,7 +708,7 @@ _Returns_: An index space representing all member-items in the parent group.
708708
709709'''
710710
711- .[apidef]#+member_item::extents+#
711+ .[apidef]#+khr:: member_item::extents+#
712712[source,role=synopsis,id=api:khr-group-interface-member-item-extents]
713713----
714714constexpr extents_type extents() const noexcept;
@@ -720,7 +720,7 @@ _Returns_: An [code]#extents# where all dimensions are 1.
720720
721721'''
722722
723- .[apidef]#+member_item::extent+#
723+ .[apidef]#+khr:: member_item::extent+#
724724[source,role=synopsis,id=api:khr-group-interface-member-item-extent]
725725----
726726constexpr extents_type::index_type extent(extents_type::rank_type r) const noexcept;
@@ -734,7 +734,7 @@ _Returns_: Equivalent to [code]#return 1;#.
734734
735735'''
736736
737- .[apidef]#+member_item::rank+#
737+ .[apidef]#+khr:: member_item::rank+#
738738[source,role=synopsis,id=api:khr-group-interface-member-item-rank]
739739----
740740static constexpr extents_type::rank_type rank() noexcept;
@@ -746,7 +746,7 @@ _Effects_: Equivalent to [code]#return extents_type::rank();#.
746746
747747'''
748748
749- .[apidef]#+member_item::rank_dynamic+#
749+ .[apidef]#+khr:: member_item::rank_dynamic+#
750750[source,role=synopsis,id=api:khr-group-interface-member-item-rank_dynamic]
751751----
752752static constexpr extents_type::rank_type rank_dynamic() noexcept;
@@ -758,7 +758,7 @@ _Effects_: Equivalent to [code]#return extents_type::rank_dynamic();#.
758758
759759'''
760760
761- .[apidef]#+member_item::static_extent+#
761+ .[apidef]#+khr:: member_item::static_extent+#
762762[source,role=synopsis,id=api:khr-group-interface-member-item-static_extent]
763763----
764764static constexpr size_t static_extent(extents_type::rank_type r) noexcept;
@@ -770,7 +770,7 @@ _Effects_: Equivalent to [code]#return extents_type::static_extent(r);#.
770770
771771'''
772772
773- .[apidef]#+member_item::size+#
773+ .[apidef]#+khr:: member_item::size+#
774774[source,role=synopsis,id=api:khr-group-interface-member-item-size]
775775----
776776constexpr size_type size() const noexcept;
0 commit comments