Skip to content

Commit 5096a7d

Browse files
authored
Merge pull request #2232 from IntelPython/add-cupy-to-intersphinx_mapping
add cupy doc to `intersphinx_mapping`
2 parents cf2a106 + 594c4fb commit 5096a7d

File tree

3 files changed

+19
-2
lines changed

3 files changed

+19
-2
lines changed

doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,10 @@ def _can_document_member(member, *args, **kwargs):
218218

219219
intersphinx_mapping = {
220220
"python": ("https://docs.python.org/3/", None),
221-
"numpy": ("https://docs.scipy.org/doc/numpy/", None),
221+
"numpy": ("https://numpy.org/doc/stable/", None),
222222
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
223223
"dpctl": ("https://intelpython.github.io/dpctl/latest/", None),
224+
"cupy": ("https://docs.cupy.dev/en/stable/", None),
224225
}
225226

226227
# If true, `todo` and `todoList` produce output, else they produce nothing.

doc/known_words.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
al
22
ary
33
backend
4+
bandlimited
45
bitwise
56
boolean
67
broadcastable
78
broadcasted
89
byteorder
10+
cardinalis
911
Cholesky
1012
combinatorially
1113
conda
@@ -34,11 +36,16 @@ fs
3436
getter
3537
Golub
3638
Hadamard
39+
histogrammed
3740
Hypergeometric
41+
kwargs
42+
iaxis
3843
iinfo
3944
Infs
4045
intp
46+
ints
4147
iterable
48+
Lanczos
4249
Lomax
4350
Mersenne
4451
meshgrid
@@ -47,13 +54,17 @@ multinomial
4754
multivalued
4855
NaN
4956
NaT
57+
nd
5058
ndarray
5159
ndarrays
5260
ndim
5361
Nj
5462
Nk
5563
normed
5664
nuc
65+
numpy
66+
nx
67+
ny
5768
Nyquist
5869
oneAPI
5970
ord
@@ -62,12 +73,15 @@ Penrose
6273
Polyutils
6374
pre
6475
prepend
76+
prepended
6577
prepending
6678
representable
79+
resampling
6780
runtimes
6881
scikit
6982
signbit
7083
signum
84+
sinc
7185
subarray
7286
subarrays
7387
subclasses
@@ -84,7 +98,9 @@ ufunc
8498
ufuncs
8599
Unary
86100
unscaled
101+
unstacked
87102
unicode
103+
Upcasting
88104
usm
89105
Vandermonde
90106
vectorized

dpnp/dpnp_iface_histograms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def bincount(x, weights=None, minlength=None):
321321
Parameters
322322
----------
323323
x : {dpnp.ndarray, usm_ndarray}
324-
Input 1-dimensional array with nonnegative integer values.
324+
Input 1-dimensional array with non-negative integer values.
325325
weights : {None, dpnp.ndarray, usm_ndarray}, optional
326326
Weights, array of the same shape as `x`.
327327
Default: ``None``

0 commit comments

Comments
 (0)