Skip to content

Commit

Permalink
Merge pull request #2232 from IntelPython/add-cupy-to-intersphinx_map…
Browse files Browse the repository at this point in the history
…ping

add cupy doc to `intersphinx_mapping`
  • Loading branch information
vtavana authored Dec 13, 2024
2 parents cf2a106 + 594c4fb commit 5096a7d
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,10 @@ def _can_document_member(member, *args, **kwargs):

intersphinx_mapping = {
"python": ("https://docs.python.org/3/", None),
"numpy": ("https://docs.scipy.org/doc/numpy/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"scipy": ("https://docs.scipy.org/doc/scipy/reference/", None),
"dpctl": ("https://intelpython.github.io/dpctl/latest/", None),
"cupy": ("https://docs.cupy.dev/en/stable/", None),
}

# If true, `todo` and `todoList` produce output, else they produce nothing.
Expand Down
16 changes: 16 additions & 0 deletions doc/known_words.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
al
ary
backend
bandlimited
bitwise
boolean
broadcastable
broadcasted
byteorder
cardinalis
Cholesky
combinatorially
conda
Expand Down Expand Up @@ -34,11 +36,16 @@ fs
getter
Golub
Hadamard
histogrammed
Hypergeometric
kwargs
iaxis
iinfo
Infs
intp
ints
iterable
Lanczos
Lomax
Mersenne
meshgrid
Expand All @@ -47,13 +54,17 @@ multinomial
multivalued
NaN
NaT
nd
ndarray
ndarrays
ndim
Nj
Nk
normed
nuc
numpy
nx
ny
Nyquist
oneAPI
ord
Expand All @@ -62,12 +73,15 @@ Penrose
Polyutils
pre
prepend
prepended
prepending
representable
resampling
runtimes
scikit
signbit
signum
sinc
subarray
subarrays
subclasses
Expand All @@ -84,7 +98,9 @@ ufunc
ufuncs
Unary
unscaled
unstacked
unicode
Upcasting
usm
Vandermonde
vectorized
Expand Down
2 changes: 1 addition & 1 deletion dpnp/dpnp_iface_histograms.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def bincount(x, weights=None, minlength=None):
Parameters
----------
x : {dpnp.ndarray, usm_ndarray}
Input 1-dimensional array with nonnegative integer values.
Input 1-dimensional array with non-negative integer values.
weights : {None, dpnp.ndarray, usm_ndarray}, optional
Weights, array of the same shape as `x`.
Default: ``None``
Expand Down

0 comments on commit 5096a7d

Please sign in to comment.