Skip to content

Commit 6108936

Browse files
Add special attributes to usm_ndarray template
1 parent f0ed81c commit 6108936

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/doc_sources/_templates/autosummary/usm_ndarray.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,18 @@
2828
{% for item in attributes %}
2929
~{{ name }}.{{ item }}
3030
{%- endfor %}
31+
32+
.. rubric:: {{ _('Special attributes') }}
33+
34+
.. autosummary::
35+
:toctree: generated
36+
3137
~{{name}}.__dlpack_device__
3238
~{{name}}.__dlpack__
3339
~{{name}}.__sycl_usm_array_interface__
40+
~{{name}}._pointer
41+
~{{name}}._element_offset
42+
~{{name}}._byte_bounds
43+
3444
{% endif %}
3545
{% endblock %}

0 commit comments

Comments
 (0)