Skip to content

Commit ace5d19

Browse files
committed
Add docstring to ptr attribute
1 parent f1a039c commit ace5d19

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dpnp/memory/_memory.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ def _add_ptr_property(cls):
3535

3636
@property
3737
def ptr(self):
38+
"""
39+
Returns USM pointer to the start of array (element with zero
40+
multi-index) encoded as integer.
41+
42+
"""
43+
3844
return getattr(self, _storage_attr, None)
3945

4046
@ptr.setter

0 commit comments

Comments
 (0)