Skip to content

Commit ce77f97

Browse files
committed
make view member categories consistent
1 parent 7d71449 commit ce77f97

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/source/API/core/view/view.rst

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ Header File: ``<Kokkos_Core.hpp>``
6767

6868
Example usage: ``Kokkos::MemoryTraits<Kokkos::Unmanaged | Kokkos::RandomAccess>``
6969

70-
.. rubric:: Public Constants
70+
.. rubric:: Public Constants:
7171

7272
.. cpp:member:: static constexpr bool reference_type_is_lvalue_reference
7373

7474
whether the reference type is a C++ lvalue reference.
7575

76-
.. rubric:: Data Types
76+
.. rubric:: Data Types:
7777

7878
.. cpp:type:: data_type
7979

@@ -100,7 +100,7 @@ Header File: ``<Kokkos_Core.hpp>``
100100
Non-:cpp:`const` version of :cpp:type:`scalar_array_type`, same as :cpp:type:`scalar_array_type` if that is already non-:cpp:`const`.
101101

102102

103-
.. rubric:: Scalar Types
103+
.. rubric:: Scalar Types:
104104

105105
.. cpp:type:: value_type
106106

@@ -115,7 +115,7 @@ Header File: ``<Kokkos_Core.hpp>``
115115
non-:cpp:`const` version of :cpp:type:`value_type`.
116116

117117

118-
.. rubric:: Spaces
118+
.. rubric:: Spaces:
119119

120120
.. cpp:type:: execution_space
121121

@@ -138,7 +138,7 @@ Header File: ``<Kokkos_Core.hpp>``
138138

139139
Host accessible memory space used in :cpp:type:`HostMirror`.
140140

141-
.. rubric:: ViewTypes
141+
.. rubric:: ViewTypes:
142142

143143
.. cpp:type:: non_const_type
144144

@@ -153,7 +153,7 @@ Header File: ``<Kokkos_Core.hpp>``
153153
compatible view type with the same :cpp:type:`data_type` and :cpp:type:`array_layout` stored in host accessible memory space.
154154

155155

156-
.. rubric:: Data Handles
156+
.. rubric:: Data Handles:
157157

158158
.. cpp:type:: reference_type
159159

@@ -164,7 +164,7 @@ Header File: ``<Kokkos_Core.hpp>``
164164
pointer to :cpp:type:`value_type`.
165165

166166

167-
.. rubric:: Other Types
167+
.. rubric:: Other Types:
168168

169169
.. cpp:type:: array_layout
170170

@@ -183,7 +183,7 @@ Header File: ``<Kokkos_Core.hpp>``
183183
A specialization tag used for partial specialization of the mapping construct underlying a :cpp:class:`View`.
184184

185185

186-
.. rubric:: Constructors
186+
.. rubric:: Constructors:
187187

188188
.. cpp:function:: View()
189189

@@ -356,7 +356,7 @@ Header File: ``<Kokkos_Core.hpp>``
356356
.. versionadded:: 4.4.0
357357

358358

359-
.. rubric:: Data Access Functions
359+
.. rubric:: Data Access Functions:
360360

361361
.. cpp:function:: reference_type operator() (const IntType& ... indices) const
362362

@@ -382,7 +382,7 @@ Header File: ``<Kokkos_Core.hpp>``
382382
Index arguments beyond :cpp:func:`rank` must be :cpp:`0`, which will be enforced if :cpp:any:`KOKKOS_DEBUG` is defined.
383383

384384

385-
.. rubric:: Data Layout, Dimensions, Strides
385+
.. rubric:: Data Layout, Dimensions, Strides:
386386

387387
.. cpp:function:: static constexpr size_t rank()
388388

@@ -536,7 +536,7 @@ Header File: ``<Kokkos_Core.hpp>``
536536
:param layout: the layout to query
537537
:return: the number of bytes necessary for an unmanaged :cpp:class:`View` of the provided layout.
538538

539-
.. rubric:: Other Utility Methods
539+
.. rubric:: Other Utility Methods:
540540

541541
.. cpp:function:: int use_count() const;
542542

@@ -566,7 +566,7 @@ Header File: ``<Kokkos_Core.hpp>``
566566
This function works for both managed and unmanaged views.
567567
With the unmanaged view, there is no guarantee that referenced address is valid, only that it is a non-null pointer.
568568

569-
.. rubric:: Conversion to mdspan
569+
.. rubric:: Conversion to mdspan:
570570

571571
.. cpp:function:: template <class OtherElementType, class OtherExtents, class OtherLayoutPolicy, class OtherAccessor> constexpr operator mdspan<OtherElementType, OtherExtents, OtherLayoutPolicy, OtherAccessor>()
572572

0 commit comments

Comments
 (0)