Skip to content

Commit 2b1b026

Browse files
authored
Merge branch 'master' into revert-gh-2082
2 parents dd16dd2 + 2c46d8a commit 2b1b026

37 files changed

+1099
-281
lines changed

.github/workflows/build-sphinx.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
sudo apt-get install -y nvidia-cuda-toolkit clinfo
9797
9898
- name: Checkout repo
99-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
99+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
100100
with:
101101
fetch-depth: 0
102102

@@ -237,7 +237,7 @@ jobs:
237237
runs-on: ubuntu-latest
238238

239239
steps:
240-
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
240+
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
241241
with:
242242
fetch-depth: 0
243243

.github/workflows/conda-package.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
access_token: ${{ github.token }}
9696

9797
- name: Checkout DPNP repo
98-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
98+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
9999
with:
100100
fetch-depth: 0
101101

@@ -129,7 +129,7 @@ jobs:
129129
run: mamba install conda-build=${{ env.CONDA_BUILD_VERSION}}
130130

131131
- name: Cache conda packages
132-
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
132+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
133133
env:
134134
CACHE_NUMBER: 1 # Increase to reset cache
135135
with:
@@ -144,13 +144,13 @@ jobs:
144144
run: conda build --no-test --python ${{ matrix.python }} --numpy 2.0 ${{ env.CHANNELS }} conda-recipe
145145

146146
- name: Upload artifact
147-
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
147+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
148148
with:
149149
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
150150
path: ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.tar.bz2
151151

152152
- name: Upload wheels artifact
153-
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
153+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
154154
with:
155155
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
156156
path: ${{ env.WHEELS_OUTPUT_FOLDER }}${{ env.PACKAGE_NAME }}-*.whl
@@ -229,7 +229,7 @@ jobs:
229229
TEST_CHANNELS: '-c ${{ env.channel-path }} ${{ env.CHANNELS }}'
230230

231231
- name: Cache conda packages
232-
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
232+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
233233
env:
234234
CACHE_NUMBER: 1 # Increase to reset cache
235235
with:
@@ -373,7 +373,7 @@ jobs:
373373
run: more lockfile
374374

375375
- name: Cache conda packages
376-
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
376+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
377377
env:
378378
CACHE_NUMBER: 1 # Increase to reset cache
379379
with:
@@ -514,7 +514,7 @@ jobs:
514514
run: mamba install anaconda-client
515515

516516
- name: Checkout repo
517-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
517+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
518518
with:
519519
repository: IntelPython/devops-tools
520520
fetch-depth: 0

.github/workflows/generate_coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
access_token: ${{ github.token }}
3434

3535
- name: Checkout repo
36-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
36+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3737
with:
3838
fetch-depth: 0
3939

.github/workflows/openssf-scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
steps:
3535
- name: "Checkout code"
36-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
36+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3737
with:
3838
persist-credentials: false
3939

@@ -60,14 +60,14 @@ jobs:
6060
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6161
# format to the repository Actions tab.
6262
- name: "Upload artifact"
63-
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
63+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
6464
with:
6565
name: SARIF file
6666
path: results.sarif
6767
retention-days: 14
6868

6969
# Upload the results to GitHub's code scanning dashboard.
7070
- name: "Upload to code-scanning"
71-
uses: github/codeql-action/upload-sarif@6db8d6351fd0be61f9ed8ebd12ccd35dcec51fea # v3.26.11
71+
uses: github/codeql-action/upload-sarif@c36620d31ac7c881962c3d9dd939c40ec9434f2b # v3.26.12
7272
with:
7373
sarif_file: results.sarif

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
pylint
2727
2828
- name: Checkout DPNP repo
29-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
29+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
3030

3131
- name: Set up python
3232
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0

doc/known_words.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
al
2+
ary
23
backend
34
bitwise
45
boolean
@@ -31,6 +32,7 @@ Fortran
3132
Frobenius
3233
fs
3334
getter
35+
Golub
3436
Hadamard
3537
Hypergeometric
3638
iinfo
@@ -51,8 +53,10 @@ ndim
5153
Nj
5254
Nk
5355
normed
56+
nuc
5457
Nyquist
5558
oneAPI
59+
ord
5660
orthonormal
5761
Penrose
5862
Polyutils

doc/reference/binary.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
Binary Operations
1+
Bit-wise operations
22
=================
33

4-
.. https://docs.scipy.org/doc/numpy/reference/routines.bitwise.html
4+
.. https://numpy.org/doc/stable/reference/routines.bitwise.html
55
66
Element-wise bit operations
77
---------------------------
@@ -15,8 +15,12 @@ Element-wise bit operations
1515
dpnp.bitwise_or
1616
dpnp.bitwise_xor
1717
dpnp.invert
18+
dpnp.bitwise_invert
1819
dpnp.left_shift
20+
dpnp.bitwise_left_shift
1921
dpnp.right_shift
22+
dpnp.bitwise_right_shift
23+
dpnp.bitwise_count
2024

2125

2226
Bit packing

doc/reference/creation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Array creation routines
44
=======================
55

6-
.. https://docs.scipy.org/doc/numpy/reference/routines.array-creation.html
6+
.. https://numpy.org/doc/stable/reference/routines.array-creation.html
77
88
From shape or value
99
-----------------------

doc/reference/dtype.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Data type routines
44
==================
55

6-
.. https://docs.scipy.org/doc/numpy/reference/routines.dtype.html
6+
.. https://numpy.org/doc/stable/reference/routines.dtype.html
77
88
.. autosummary::
99
:toctree: generated/

doc/reference/fft.rst

Lines changed: 19 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
.. module:: dpnp.fft
2-
31
FFT Functions
42
=============
53

6-
.. https://docs.scipy.org/doc/numpy/reference/routines.fft.html
4+
.. https://numpy.org/doc/stable/reference/routines.fft.html
75
86
Standard FFTs
97
-------------
@@ -12,12 +10,12 @@ Standard FFTs
1210
:toctree: generated/
1311
:nosignatures:
1412

15-
fft
16-
ifft
17-
fft2
18-
ifft2
19-
fftn
20-
ifftn
13+
dpnp.fft.fft
14+
dpnp.fft.ifft
15+
dpnp.fft.fft2
16+
dpnp.fft.ifft2
17+
dpnp.fft.fftn
18+
dpnp.fft.ifftn
2119

2220

2321
Real FFTs
@@ -27,12 +25,12 @@ Real FFTs
2725
:toctree: generated/
2826
:nosignatures:
2927

30-
rfft
31-
irfft
32-
rfft2
33-
irfft2
34-
rfftn
35-
irfftn
28+
dpnp.fft.rfft
29+
dpnp.fft.irfft
30+
dpnp.fft.rfft2
31+
dpnp.fft.irfft2
32+
dpnp.fft.rfftn
33+
dpnp.fft.irfftn
3634

3735

3836
Hermitian FFTs
@@ -42,8 +40,8 @@ Hermitian FFTs
4240
:toctree: generated/
4341
:nosignatures:
4442

45-
hfft
46-
ihfft
43+
dpnp.fft.hfft
44+
dpnp.fft.ihfft
4745

4846

4947
Helper routines
@@ -53,10 +51,10 @@ Helper routines
5351
:toctree: generated/
5452
:nosignatures:
5553

56-
fftfreq
57-
rfftfreq
58-
fftshift
59-
ifftshift
54+
dpnp.fft.fftfreq
55+
dpnp.fft.rfftfreq
56+
dpnp.fft.fftshift
57+
dpnp.fft.ifftshift
6058

6159
.. fft.config module is not implemented yet
6260
.. dpnp.fft.config.set_cufft_callbacks

doc/reference/linalg.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Linear Algebra
22
==============
33

4-
.. https://docs.scipy.org/doc/numpy/reference/routines.linalg.html
4+
.. https://numpy.org/doc/stable/reference/routines.linalg.html
55
66
Matrix and vector products
77
--------------------------
@@ -13,14 +13,19 @@ Matrix and vector products
1313
dpnp.dot
1414
dpnp.linalg.multi_dot
1515
dpnp.vdot
16+
dpnp.vecdot
17+
dpnp.linalg.vecdot (Array API compatible)
1618
dpnp.inner
1719
dpnp.outer
1820
dpnp.matmul
21+
dpnp.linalg.matmul (Array API compatible)
1922
dpnp.tensordot
23+
dpnp.linalg.tensordot (Array API compatible)
2024
dpnp.einsum
2125
dpnp.einsum_path
2226
dpnp.linalg.matrix_power
2327
dpnp.kron
28+
dpnp.linalg.cross (Array API compatible)
2429

2530
Decompositions
2631
--------------
@@ -55,11 +60,14 @@ Norms and other numbers
5560
:nosignatures:
5661

5762
dpnp.linalg.norm
63+
dpnp.linalg.matrix_norm (Array API compatible)
64+
dpnp.linalg.vector_norm (Array API compatible)
5865
dpnp.linalg.cond
5966
dpnp.linalg.det
6067
dpnp.linalg.matrix_rank
6168
dpnp.linalg.slogdet
6269
dpnp.trace
70+
dpnp.linalg.trace (Array API compatible)
6371

6472

6573
Solving linear equations
@@ -75,3 +83,19 @@ Solving linear equations
7583
dpnp.linalg.inv
7684
dpnp.linalg.pinv
7785
dpnp.linalg.tensorinv
86+
87+
Other matrix operations
88+
-----------------------
89+
.. autosummary::
90+
:toctree: generated/
91+
92+
dpnp.diagonal
93+
dpnp.linalg.diagonal (Array API compatible)
94+
dpnp.linalg.matrix_tranpose (Array API compatible)
95+
96+
Exceptions
97+
----------
98+
.. autosummary::
99+
:toctree: generated/
100+
101+
dpnp.linalg.linAlgError

doc/reference/logic.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Logic Functions
22
===============
33

4-
.. https://docs.scipy.org/doc/numpy/reference/routines.logic.html
4+
.. https://numpy.org/doc/stable/reference/routines.logic.html
55
66
Truth value testing
77
-------------------

doc/reference/manipulation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Array Manipulation Routines
22
===========================
33

4-
.. https://docs.scipy.org/doc/numpy/reference/routines.array-manipulation.html
4+
.. https://numpy.org/doc/stable/reference/routines.array-manipulation.html
55
66
Basic operations
77
----------------

doc/reference/math.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Mathematical functions
22
======================
33

4-
.. https://docs.scipy.org/doc/numpy/reference/routines.math.html
4+
.. https://numpy.org/doc/stable/reference/routines.math.html
55
66
Trigonometric functions
77
-----------------------

doc/reference/misc.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Miscellaneous routines
22
======================
33

4-
.. https://docs.scipy.org/doc/numpy/reference/routines.other.html
4+
.. https://numpy.org/doc/stable/reference/routines.other.html
55
66
Utility
77
-------
@@ -13,6 +13,4 @@ Utility
1313
dpnp.get_include
1414
dpnp.show_config
1515
dpnp.show_runtime
16-
dpnp.deprecate
17-
dpnp.deprecate_with_doc
1816
dpnp.broadcast_shapes

doc/reference/pad.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)