Skip to content

Commit 728ae42

Browse files
Merge pull request #2843 from IntelPython/update-include-dpctl-tensor
Merge master into include-dpctl-tensor
2 parents 761573c + 23da515 commit 728ae42

File tree

225 files changed

+3348
-2399
lines changed

Some content is hidden

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

225 files changed

+3348
-2399
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BinPackParameters: false
1616
BraceWrapping:
1717
AfterCaseLabel: true
1818
AfterClass: true
19-
AfterControlStatement: MultiLine
19+
AfterControlStatement: Never
2020
AfterEnum: true
2121
AfterFunction: true
2222
AfterNamespace: true

.git-blame-ignore-revs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,6 @@ c106d91b866f4acd30226b68519b12a73a881490
1717

1818
# Add pygrep-hooks to pre-commit config
1919
e62718415aa3660da5f607e352c991a063a54219
20+
21+
# Bump clang-format from 12.0.1 to 22.1.0 version
22+
c2d65bd451a7d8e5b6319147da95e9dabf7a382b

.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@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
50+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
5151
with:
5252
access_token: ${{ github.token }}
5353

@@ -224,7 +224,7 @@ jobs:
224224
if: env.GH_EVENT_OPEN_PR_UPSTREAM == 'true'
225225
env:
226226
PR_NUM: ${{ github.event.number }}
227-
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
227+
uses: mshick/add-pr-comment@64b8e914979889d746c99dea15a76e77ef64580a # v3.10.0.8.3.10.0
228228
with:
229229
message-id: url_to_docs
230230
message: |
@@ -268,7 +268,7 @@ jobs:
268268
git push tokened_docs gh-pages
269269
270270
- name: Modify the comment with URL to official documentation
271-
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
271+
uses: mshick/add-pr-comment@64b8e914979889d746c99dea15a76e77ef64580a # v3.10.0.8.3.10.0
272272
with:
273273
message-id: url_to_docs
274274
find: |

.github/workflows/check-onemath.yaml

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

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

@@ -57,7 +57,7 @@ jobs:
5757
cat ${{ env.environment-file }}
5858
5959
- name: Upload artifact
60-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
60+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6161
with:
6262
name: ${{ env.environment-file-name }}
6363
path: ${{ env.environment-file }}
@@ -87,7 +87,7 @@ jobs:
8787
fetch-depth: 0
8888

8989
- name: Download artifact
90-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
90+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
9191
with:
9292
name: ${{ env.environment-file-name }}
9393
path: ${{ env.environment-file-loc }}
@@ -147,7 +147,7 @@ jobs:
147147
- name: ReRun tests on Linux
148148
if: env.rerun-tests-on-failure == 'true'
149149
id: run_tests
150-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
150+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
151151
with:
152152
timeout_minutes: ${{ env.rerun-tests-timeout }}
153153
max_attempts: ${{ env.rerun-tests-max-attempts }}
@@ -207,7 +207,7 @@ jobs:
207207
fetch-depth: 0
208208

209209
- name: Download artifact
210-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
210+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
211211
with:
212212
name: ${{ env.environment-file-name }}
213213
path: ${{ env.environment-file-loc }}
@@ -279,7 +279,7 @@ jobs:
279279
- name: ReRun tests on Linux
280280
if: env.rerun-tests-on-failure == 'true'
281281
id: run_tests
282-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
282+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
283283
with:
284284
timeout_minutes: ${{ env.rerun-tests-timeout }}
285285
max_attempts: ${{ env.rerun-tests-max-attempts }}

.github/workflows/conda-package.yml

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

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

@@ -102,13 +102,13 @@ jobs:
102102
MAX_BUILD_CMPL_MKL_VERSION: '2026.0a0'
103103

104104
- name: Upload artifact
105-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
105+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
106106
with:
107107
name: ${{ env.package-name }} ${{ runner.os }} Python ${{ matrix.python }}
108108
path: ${{ env.CONDA_BLD }}${{ env.package-name }}-*.conda
109109

110110
- name: Upload wheels artifact
111-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
111+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
112112
with:
113113
name: ${{ env.package-name }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
114114
path: ${{ env.WHEELS_OUTPUT_FOLDER }}${{ env.package-name }}-*.whl
@@ -151,7 +151,7 @@ jobs:
151151
path: ${{ env.dpnp-repo-path }}
152152

153153
- name: Download artifact
154-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
154+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
155155
with:
156156
name: ${{ env.package-name }} ${{ runner.os }} Python ${{ matrix.python }}
157157
path: ${{ env.pkg-path-in-channel }}
@@ -231,7 +231,7 @@ jobs:
231231
- name: Run tests
232232
if: env.rerun-tests-on-failure == 'true'
233233
id: run_tests_linux
234-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
234+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
235235
with:
236236
timeout_minutes: ${{ env.rerun-tests-timeout }}
237237
max_attempts: ${{ env.rerun-tests-max-attempts }}
@@ -302,7 +302,7 @@ jobs:
302302
path: ${{ env.dpnp-repo-path }}
303303

304304
- name: Download artifact
305-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
305+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
306306
with:
307307
name: ${{ env.package-name }} ${{ runner.os }} Python ${{ matrix.python }}
308308
path: ${{ env.pkg-path-in-channel }}
@@ -415,7 +415,7 @@ jobs:
415415
- name: Run tests
416416
if: env.rerun-tests-on-failure == 'true'
417417
id: run_tests_win
418-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
418+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
419419
with:
420420
timeout_minutes: ${{ env.rerun-tests-timeout }}
421421
max_attempts: ${{ env.rerun-tests-max-attempts }}
@@ -481,12 +481,12 @@ jobs:
481481
fetch-depth: ${{ env.fetch-depth }}
482482

483483
- name: Download artifact
484-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
484+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
485485
with:
486486
name: ${{ env.package-name }} ${{ runner.os }} Python ${{ matrix.python }}
487487

488488
- name: Download wheels artifact
489-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
489+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
490490
with:
491491
name: ${{ env.package-name }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
492492

@@ -570,7 +570,7 @@ jobs:
570570
path: ${{ env.dpnp-repo-path }}
571571

572572
- name: Download artifact
573-
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
573+
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
574574
with:
575575
name: ${{ env.package-name }} ${{ runner.os }} Python ${{ env.python-ver }}
576576
path: ${{ env.pkg-path-in-channel }}
@@ -696,7 +696,7 @@ jobs:
696696

697697
- name: Post result to PR
698698
if: ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork }}
699-
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2.8.2
699+
uses: mshick/add-pr-comment@64b8e914979889d746c99dea15a76e77ef64580a # v3.10.0.8.3.10.0
700700
with:
701701
message-id: array_api_results
702702
message: |

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

Lines changed: 3 additions & 3 deletions
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@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
46+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
4747
with:
4848
access_token: ${{ github.token }}
4949

@@ -128,7 +128,7 @@ jobs:
128128
- name: ReRun tests on Linux
129129
if: steps.run_tests.outcome == 'failure' && matrix.runner != 'windows-2022'
130130
id: run_tests_linux
131-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
131+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
132132
with:
133133
timeout_minutes: ${{ env.rerun-tests-timeout }}
134134
max_attempts: ${{ env.rerun-tests-max-attempts }}
@@ -145,7 +145,7 @@ jobs:
145145
- name: ReRun tests on Windows
146146
if: steps.run_tests.outcome == 'failure' && matrix.runner == 'windows-2022'
147147
id: run_tests_win
148-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
148+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
149149
with:
150150
timeout_minutes: ${{ env.rerun-tests-timeout }}
151151
max_attempts: ${{ env.rerun-tests-max-attempts }}

.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@3155a141048f8f89c06b4cdae32e7853e97536bc # 0.13.0
36+
uses: styfle/cancel-workflow-action@d07a454dad7609a92316b57b23c9ccfd4f59af66 # 0.13.1
3737
with:
3838
access_token: ${{ github.token }}
3939

@@ -119,7 +119,7 @@ jobs:
119119
120120
- name: Build dpnp with coverage
121121
id: build_coverage
122-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3.0.2
122+
uses: nick-fields/retry@ad984534de44a9489a53aefd81eb77f87c70dc60 # v4.0.0
123123
with:
124124
shell: bash
125125
timeout_minutes: 120

.github/workflows/openssf-scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ jobs:
6464
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6565
# format to the repository Actions tab.
6666
- name: "Upload artifact"
67-
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
67+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
6868
with:
6969
name: SARIF file
7070
path: results.sarif
7171
retention-days: 14
7272

7373
# Upload the results to GitHub's code scanning dashboard.
7474
- name: "Upload to code-scanning"
75-
uses: github/codeql-action/upload-sarif@9e907b5e64f6b83e7804b09294d44122997950d6 # v4.32.3
75+
uses: github/codeql-action/upload-sarif@c10b8064de6f491fea524254123dbe5e09572f13 # v4.35.1
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
@@ -38,7 +38,7 @@ jobs:
3838
run: pre-commit autoupdate
3939

4040
- name: Create a PR with autoupdate changes
41-
uses: peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 #v8.1.0
41+
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 #v8.1.1
4242
with:
4343
commit-message: 'chore: update pre-commit hooks'
4444
add-paths: .pre-commit-config.yaml

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ jobs:
1515
timeout-minutes: 10
1616

1717
steps:
18-
- name: Set up clang-format
19-
run: |
20-
sudo apt-get install -y clang-format-12
21-
sudo unlink /usr/bin/clang-format
22-
sudo ln -s /usr/bin/clang-format-12 /usr/bin/clang-format
23-
clang-format --version
24-
2518
- name: Set up pip packages
2619
uses: BSFishy/pip-action@8f2d471d809dc20b6ada98c91910b6ae6243f318 # v1
2720
with:

0 commit comments

Comments
 (0)