Skip to content

Commit f289dd9

Browse files
committed
Changes per PR review by @oleksandr-pavlyk
1 parent a8af625 commit f289dd9

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

docs/doc_sources/api_reference/dpctl/flags.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
Note that dictionary-like access to some members is permitted:
1010

1111
"C", "C_CONTIGUOUS":
12-
Equivalent to `c_contiguous`
12+
Equivalent to ``c_contiguous``
1313
"F", "F_CONTIGUOUS":
14-
Equivalent to `f_contiguous`
14+
Equivalent to ``f_contiguous``
1515
"W", "WRITABLE":
16-
Equivalent to `writable`
16+
Equivalent to ``writable``
1717
"FC":
18-
Equivalent to `fc`
18+
Equivalent to ``fc``
1919
"FNC":
20-
Equivalent to `fnc`
20+
Equivalent to ``fnc``
2121
"FORC", "CONTIGUOUS":
22-
Equivalent to `forc` and `contiguous`
22+
Equivalent to ``forc`` and ``contiguous``

dpctl/tensor/_flags.pyx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ cdef cpp_bool _check_bit(int flag, int mask):
3434

3535
cdef class Flags:
3636
"""
37-
Helper class to represent memory layout flags of
38-
:class:`dpctl.tensor.usm_ndarray`.
37+
Helper class to query the flags of a :class:`dpctl.tensor.usm_ndarray`
38+
instance, which describe how the instance interfaces with its underlying
39+
memory.
3940
"""
4041
cdef int flags_
4142
cdef usm_ndarray arr_

0 commit comments

Comments
 (0)