Skip to content

Commit e55e590

Browse files
authored
Merge branch 'master' into impl_pad
2 parents 7d5b47a + 927d898 commit e55e590

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+2281
-409
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
@@ -96,7 +96,7 @@ jobs:
9696
access_token: ${{ github.token }}
9797

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

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

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

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

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

232232
- name: Cache conda packages
233-
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
233+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
234234
env:
235235
CACHE_NUMBER: 1 # Increase to reset cache
236236
with:
@@ -374,7 +374,7 @@ jobs:
374374
run: more lockfile
375375

376376
- name: Cache conda packages
377-
uses: actions/cache@2cdf405574d6ef1f33a1d12acccd3ae82f47b3f2 # v4.1.0
377+
uses: actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
378378
env:
379379
CACHE_NUMBER: 1 # Increase to reset cache
380380
with:
@@ -515,7 +515,7 @@ jobs:
515515
run: mamba install anaconda-client
516516

517517
- name: Checkout repo
518-
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
518+
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
519519
with:
520520
repository: IntelPython/devops-tools
521521
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

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
### Fixed
1414

1515

16-
## [0.16.0] - 09/DD/2024
16+
## [0.16.0] - 10/14/2024
1717

1818
This release reaches an important milestone by making offloading fully asynchronous. Calls to `dpnp` submit tasks for execution to DPC++ runtime and return without waiting for execution of these tasks to finish. The sequential semantics a user comes to expect from execution of Python script is preserved though.
1919
In addition, this release completes implementation of `dpnp.fft` module and adds several new array manipulation, indexing and elementwise routines. Moreover, it adds support to build `dpnp` for Nvidia GPUs.
@@ -117,6 +117,7 @@ In addition, this release completes implementation of `dpnp.fft` module and adds
117117
* Updated the test suit for `dpnp.fft` module [#2071](https://github.com/IntelPython/dpnp/pull/2071)
118118
* Reworked `dpnp.clip` implementation to align with Python Array API 2023.12 specification [#2048](https://github.com/IntelPython/dpnp/pull/2048)
119119
* Skipped outdated tests for `dpnp.linalg.solve` due to compatibility issues with NumPy 2.0 [#2074](https://github.com/IntelPython/dpnp/pull/2074)
120+
* Updated installation instructions [#2098](https://github.com/IntelPython/dpnp/pull/2098)
120121

121122
### Fixed
122123

@@ -128,7 +129,6 @@ In addition, this release completes implementation of `dpnp.fft` module and adds
128129
* Fixed a crash in `dpnp.choose` caused by missing control of releasing temporary allocated device memory [#2063](https://github.com/IntelPython/dpnp/pull/2063)
129130
* Resolved compilation warning and error while building in debug mode [#2066](https://github.com/IntelPython/dpnp/pull/2066)
130131
* Fixed an issue with asynchronous execution in `dpnp.fft` module [#2067](https://github.com/IntelPython/dpnp/pull/2067)
131-
* Added a workaround to fix the incorrect result from `dpnp.matmul` computing on Lunar Lake or Arrow Lake Battlemage graphics [#2082](https://github.com/IntelPython/dpnp/pull/2082)
132132

133133
## [0.15.0] - 05/25/2024
134134

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ python scripts/build_locally.py
4141
## Install Wheel Package via pip
4242
Install DPNP
4343
```cmd
44-
python -m pip install dpnp
44+
python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp
4545
```
4646

4747
Set path to Performance Libraries in case of using venv or system Python:

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/quick_start_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ You will need one of the commands below:
4444

4545
* Conda: ``conda install dpnp -c https://software.repos.intel.com/python/conda/ -c conda-forge``
4646

47-
* Pip: ``python -m pip install dpnp``
47+
* Pip: ``python -m pip install --index-url https://software.repos.intel.com/python/pypi dpnp``
4848

4949
These commands install dpnp package along with its dependencies, including
5050
``dpctl`` package with `Data Parallel Control Library`_ and all required

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

0 commit comments

Comments
 (0)