Skip to content

Commit 605acbb

Browse files
Merge branch 'master' into enable_dlpack_test
2 parents 91feff2 + 0ecd18e commit 605acbb

File tree

73 files changed

+3967
-1138
lines changed

Some content is hidden

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

73 files changed

+3967
-1138
lines changed

.github/workflows/build-sphinx.yml

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

4848
steps:
4949
- name: Cancel Previous Runs
50-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
50+
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
5151
with:
5252
access_token: ${{ github.token }}
5353

@@ -102,7 +102,7 @@ jobs:
102102
sudo apt-get install -y nvidia-cuda-toolkit clinfo
103103
104104
- name: Checkout repo
105-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
105+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
106106
with:
107107
fetch-depth: 0
108108

@@ -249,7 +249,7 @@ jobs:
249249
timeout-minutes: 10
250250

251251
steps:
252-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
252+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
253253
with:
254254
fetch-depth: 0
255255

.github/workflows/check-onemath.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434

3535
steps:
3636
- name: Cancel Previous Runs
37-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
37+
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
3838
with:
3939
access_token: ${{ github.token }}
4040

4141
- name: Checkout DPNP repo
42-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
42+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4343
with:
4444
fetch-depth: 0
4545

@@ -82,7 +82,7 @@ jobs:
8282

8383
steps:
8484
- name: Checkout DPNP repo
85-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
85+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
8686
with:
8787
fetch-depth: 0
8888

@@ -176,7 +176,7 @@ jobs:
176176

177177
steps:
178178
- name: Checkout DPNP repo
179-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
179+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
180180
with:
181181
fetch-depth: 0
182182

@@ -187,7 +187,7 @@ jobs:
187187
path: ${{ env.environment-file-loc }}
188188

189189
- name: Checkout oneMKL repo
190-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
190+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
191191
with:
192192
repository: 'oneapi-src/oneMKL'
193193
ref: 'develop'

.github/workflows/conda-package.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@ jobs:
4949

5050
steps:
5151
- name: Cancel Previous Runs
52-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
52+
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
5353
with:
5454
access_token: ${{ github.token }}
5555

5656
- name: Checkout DPNP repo
57-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
57+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5858
with:
5959
fetch-depth: 0
6060

@@ -145,7 +145,7 @@ jobs:
145145
swap-size-gb: 8
146146

147147
- name: Checkout DPNP repo
148-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
148+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
149149
with:
150150
fetch-depth: ${{ env.fetch-depth }}
151151
path: ${{ env.dpnp-repo-path }}
@@ -274,7 +274,7 @@ jobs:
274274

275275
steps:
276276
- name: Checkout DPNP repo
277-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
277+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
278278
with:
279279
fetch-depth: ${{ env.fetch-depth }}
280280
path: ${{ env.dpnp-repo-path }}
@@ -434,7 +434,7 @@ jobs:
434434
435435
steps:
436436
- name: Checkout DPNP repo
437-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
437+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
438438
with:
439439
fetch-depth: ${{ env.fetch-depth }}
440440

@@ -522,7 +522,7 @@ jobs:
522522

523523
steps:
524524
- name: Checkout DPNP repo
525-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
525+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
526526
with:
527527
fetch-depth: ${{ env.fetch-depth }}
528528
path: ${{ env.dpnp-repo-path }}
@@ -595,7 +595,7 @@ jobs:
595595
python -c "import dpnp; print(dpnp.__version__)"
596596
597597
- name: Clone array API tests repo
598-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
598+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
599599
with:
600600
repository: 'data-apis/array-api-tests'
601601
path: ${{ env.array-api-tests-path }}
@@ -678,7 +678,7 @@ jobs:
678678

679679
steps:
680680
- name: Checkout DPNP repo
681-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
681+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
682682
with:
683683
fetch-depth: ${{ env.fetch-depth }}
684684

@@ -704,7 +704,7 @@ jobs:
704704
activate-environment: ${{ env.cleanup-env-name }}
705705

706706
- name: Checkout repo
707-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
707+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
708708
with:
709709
repository: IntelPython/devops-tools
710710
fetch-depth: ${{ env.fetch-depth }}

.github/workflows/cron-run-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- name: Cancel Previous Runs
46-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
46+
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
4747
with:
4848
access_token: ${{ github.token }}
4949

.github/workflows/generate_coverage.yaml

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

3434
steps:
3535
- name: Cancel Previous Runs
36-
uses: styfle/cancel-workflow-action@85880fa0301c86cca9da44039ee3bb12d3bedbfa # 0.12.1
36+
uses: styfle/cancel-workflow-action@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
3737
with:
3838
access_token: ${{ github.token }}
3939

@@ -58,7 +58,7 @@ jobs:
5858
intel-oneapi-compiler-dpcpp-cpp
5959
6060
- name: Checkout repo
61-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
61+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
6262
with:
6363
fetch-depth: 0
6464

.github/workflows/openssf-scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
steps:
3939
- name: "Checkout code"
40-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
40+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4141
with:
4242
persist-credentials: false
4343

@@ -72,6 +72,6 @@ jobs:
7272

7373
# Upload the results to GitHub's code scanning dashboard.
7474
- name: "Upload to code-scanning"
75-
uses: github/codeql-action/upload-sarif@1b168cd39490f61582a9beae412bb7057a6b2c4e # v4.31.8
75+
uses: github/codeql-action/upload-sarif@cdefb33c0f6224e58673d9004f47f7cb3e328b89 # v4.31.10
7676
with:
7777
sarif_file: results.sarif

.github/workflows/pre-commit-autoupdate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
steps:
2626
- name: Checkout DPNP repo
27-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
27+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2828

2929
- name: Set up python
3030
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
pylint
3131
3232
- name: Checkout DPNP repo
33-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
33+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
3434
with:
3535
# use commit hash to make "no-commit-to-branch" check passing
3636
ref: ${{ github.sha }}

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,16 @@ repos:
118118
]
119119
files: '^dpnp/(dpnp_iface.*|fft|linalg|scipy|dpnp_array)'
120120
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
121-
rev: v2.15.0
121+
rev: v2.16.0
122122
hooks:
123123
- id: pretty-format-toml
124124
args: [--autofix]
125125
- repo: https://github.com/rhysd/actionlint
126-
rev: v1.7.9
126+
rev: v1.7.10
127127
hooks:
128128
- id: actionlint
129129
- repo: https://github.com/BlankSpruce/gersemi
130-
rev: 0.24.0
130+
rev: 0.25.1
131131
hooks:
132132
- id: gersemi
133133
exclude: "dpnp/backend/cmake/Modules/"

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum
2424
* Added implementation of `dpnp.ndarray.tobytes` method [#2656](https://github.com/IntelPython/dpnp/pull/2656)
2525
* Added implementation of `dpnp.ndarray.__format__` method [#2662](https://github.com/IntelPython/dpnp/pull/2662)
2626
* Added implementation of `dpnp.ndarray.__bytes__` method [#2671](https://github.com/IntelPython/dpnp/pull/2671)
27+
* Added implementation of `dpnp.divmod` [#2674](https://github.com/IntelPython/dpnp/pull/2674)
28+
* Added implementation of `dpnp.isin` function [#2595](https://github.com/IntelPython/dpnp/pull/2595)
2729

2830
### Changed
2931

@@ -38,6 +40,10 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum
3840
* Unified public API definitions in `dpnp.linalg` and `dpnp.scipy` submodules [#2663](https://github.com/IntelPython/dpnp/pull/2663)
3941
* Aligned the signature of `dpnp.reshape` function with Python array API by making `shape` a required argument [#2673](https://github.com/IntelPython/dpnp/pull/2673)
4042
* Unified `dpnp` public API exports by consolidating function exports in `__init__.py` and removing wildcard imports [#2665](https://github.com/IntelPython/dpnp/pull/2665) [#2666](https://github.com/IntelPython/dpnp/pull/2666)
43+
* Updated tests to reflect the new scalar conversion rules for non-0D `usm_ndarray` [#2694](https://github.com/IntelPython/dpnp/pull/2694)
44+
* Compile indexing extension with `-fno-sycl-id-queries-fit-in-int` to support huge arrays [#2721](https://github.com/IntelPython/dpnp/pull/2721)
45+
* Updated `dpnp.fix` to reuse `dpnp.trunc` internally [#2722](https://github.com/IntelPython/dpnp/pull/2722)
46+
* Changed the build scripts and documentation due to `python setup.py develop` deprecation notice [#2716](https://github.com/IntelPython/dpnp/pull/2716)
4147

4248
### Deprecated
4349

@@ -54,6 +60,9 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum
5460
### Fixed
5561

5662
* Suppressed a potential deprecation warning triggered during import of the `dpctl.tensor` module [#2709](https://github.com/IntelPython/dpnp/pull/2709)
63+
* Corrected a phonetic spelling issue due to incorrect using of `a nd` in docstrings [#2719](https://github.com/IntelPython/dpnp/pull/2719)
64+
* Resolved an issue causing `dpnp.linspace` to return an incorrect output shape when inputs were passed as arrays [#2712](https://github.com/IntelPython/dpnp/pull/2712)
65+
* Resolved an issue where `dpnp` always returns the base allocation pointer, when the view start is expected [#2651](https://github.com/IntelPython/dpnp/pull/2651)
5766

5867
### Security
5968

0 commit comments

Comments
 (0)