Skip to content

Commit 143183c

Browse files
committed
Merge remote-tracking branch 'origin/sycl' into llvmspirv_pulldown
2 parents f5d8456 + dcedf27 commit 143183c

File tree

410 files changed

+10656
-1704
lines changed

Some content is hidden

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

410 files changed

+10656
-1704
lines changed
File renamed without changes.

.github/workflows/sycl-benchmark-aggregate.yml

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

.github/workflows/coverity.yml renamed to .github/workflows/sycl-coverity.yml

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
name: Coverity
22
on:
33
workflow_dispatch:
4+
inputs:
5+
description:
6+
description: 'Custom build description'
7+
required: true
8+
type: string
9+
default: 'Out-of-order Coverity scan'
10+
ref:
11+
description: 'Git ref to checkout and scan'
12+
required: true
13+
type: string
14+
default: 'sycl'
15+
416
schedule:
517
- cron: '0 0 * * 0'
618

@@ -27,7 +39,7 @@ jobs:
2739
- uses: ./devops/actions/cached_checkout
2840
with:
2941
path: src
30-
ref: ${{ github.sha }}
42+
ref: ${{ inputs.ref || github.sha }}
3143
cache_path: "/__w/repo_cache/"
3244

3345
- name: Get coverity tool
@@ -45,7 +57,7 @@ jobs:
4557
cd $GITHUB_WORKSPACE/build
4658
python3 $GITHUB_WORKSPACE/src/buildbot/configure.py -w $GITHUB_WORKSPACE \
4759
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t Release \
48-
--ci-defaults --hip --cuda \
60+
--ci-defaults --use-zstd --hip --cuda \
4961
-DNATIVECPU_USE_OCK=Off
5062
5163
- name: Build with coverity
@@ -56,10 +68,15 @@ jobs:
5668

5769
- name: Submit build
5870
run: |
71+
default_description="${{ inputs.description }}"
72+
if [[ -z $default_description ]]; then
73+
default_description="Regular build"
74+
fi
75+
5976
# Initialize a build. Fetch a cloud upload url.
6077
curl -X POST \
61-
-d version="sycl: ${{ github.sha }}" \
62-
-d description="Regular build" \
78+
-d version="${{ inputs.ref || github.sha }}" \
79+
-d description="$default_description" \
6380
-d email=${{ secrets.COVERITY_EMAIL }} \
6481
-d token=${{ secrets.COVERITY_TOKEN }} \
6582
-d file_name="intel_llvm.tgz" \

.github/workflows/sycl-detect-changes.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
- devops/dependencies-igc-dev.json
6868
benchmarks:
6969
- 'devops/scripts/benchmarks/**'
70+
- 'devops/actions/run-tests/benchmark/**'
71+
- '.github/workflows/sycl-ur-perf-benchmarking.yml'
7072
perf-tests:
7173
- sycl/test-e2e/PerformanceTests/**
7274
esimd:

.github/workflows/sycl-linux-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build \
202202
-DCMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/toolchain \
203203
-t Release \
204-
--ci-defaults ${{ inputs.build_configure_extra_args }} \
204+
--ci-defaults --use-zstd ${{ inputs.build_configure_extra_args }} \
205205
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
206206
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
207207
-DLLVM_INSTALL_UTILS=ON

.github/workflows/sycl-linux-precommit.yml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- sycl
1010
- sycl-rel-**
1111
# Do not run builds if changes are only in the following locations
12+
# Note: benchmark-related paths are the same as in sycl-ur-perf-benchmarking.yml (to run there instead)
1213
paths-ignore:
1314
- '.github/ISSUE_TEMPLATE/**'
1415
- '.github/CODEOWNERS'
@@ -23,14 +24,18 @@ on:
2324
- '.github/workflows/sycl-nightly.yml'
2425
- '.github/workflows/sycl-rel-nightly.yml'
2526
- '.github/workflows/sycl-rel-nightly-launch.yml'
26-
- '.github/workflows/trivy.yml'
27+
- '.github/workflows/sycl-trivy.yml'
28+
- '.github/workflows/sycl-coverity.yml'
2729
- 'devops/containers/**'
2830
- 'devops/actions/build_container/**'
2931
- 'unified-runtime/examples/**'
3032
- 'unified-runtime/scripts/**'
3133
- 'unified-runtime/test/**'
3234
- 'unified-runtime/third_party/**'
3335
- 'unified-runtime/tools/**'
36+
- 'devops/scripts/benchmarks/**'
37+
- 'devops/actions/run-tests/benchmark/**'
38+
- '.github/workflows/sycl-ur-perf-benchmarking.yml'
3439

3540
concurrency:
3641
# Cancel a currently running workflow from the same PR, branch or tag.
@@ -224,28 +229,6 @@ jobs:
224229
skip_run: ${{matrix.use_igc_dev && contains(github.event.pull_request.labels.*.name, 'ci-no-devigc') || 'false'}}
225230
env: ${{ matrix.env || (contains(needs.detect_changes.outputs.filters, 'esimd') && '{}' || '{"LIT_FILTER_OUT":"ESIMD/"}') }}
226231

227-
test_benchmark_scripts:
228-
needs: [build, detect_changes]
229-
if: |
230-
always() && !cancelled()
231-
&& needs.build.outputs.build_conclusion == 'success'
232-
&& contains(needs.detect_changes.outputs.filters, 'benchmarks')
233-
uses: ./.github/workflows/sycl-linux-run-tests.yml
234-
with:
235-
name: Benchmark suite precommit testing
236-
runner: '["PVC_PERF"]'
237-
image: ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest
238-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
239-
target_devices: 'level_zero:gpu'
240-
tests_selector: benchmarks
241-
benchmark_upload_results: false
242-
benchmark_preset: 'Minimal'
243-
benchmark_dry_run: true
244-
repo_ref: ${{ github.sha }}
245-
toolchain_artifact: ${{ needs.build.outputs.toolchain_artifact }}
246-
toolchain_artifact_filename: ${{ needs.build.outputs.toolchain_artifact_filename }}
247-
toolchain_decompress_command: ${{ needs.build.outputs.toolchain_decompress_command }}
248-
249232
test-perf:
250233
needs: [build, detect_changes]
251234
if: |

.github/workflows/sycl-linux-run-tests.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,19 @@ on:
134134
type: string
135135
default: 'Minimal'
136136
required: False
137+
# dry-run is passed only to compare.py (to not fail on regression), not to main.py (where such flag would omit all benchmark runs)
137138
benchmark_dry_run:
138139
description: |
139140
Whether or not to fail the workflow upon a regression.
140141
type: string
141142
default: 'false'
142143
required: False
144+
benchmark_exit_on_failure:
145+
description: |
146+
Whether or not to fail the workflow upon a failure.
147+
type: string
148+
default: 'false'
149+
required: False
143150

144151
workflow_dispatch:
145152
inputs:
@@ -211,6 +218,12 @@ on:
211218
- "build-only"
212219
- "run-only"
213220

221+
benchmark_exit_on_failure:
222+
type: choice
223+
options:
224+
- "true"
225+
- "false"
226+
214227
permissions:
215228
contents: read
216229
packages: read
@@ -358,6 +371,7 @@ jobs:
358371
save_name: ${{ inputs.benchmark_save_name }}
359372
preset: ${{ inputs.benchmark_preset }}
360373
dry_run: ${{ inputs.benchmark_dry_run }}
374+
exit_on_failure: ${{ inputs.benchmark_exit_on_failure }}
361375
build_ref: ${{ inputs.repo_ref }}
362376
env:
363377
RUNNER_TAG: ${{ inputs.runner }}

.github/workflows/sycl-macos-build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
cd $GITHUB_WORKSPACE/build
5050
python3 $GITHUB_WORKSPACE/src/buildbot/configure.py -w $GITHUB_WORKSPACE \
5151
-s $GITHUB_WORKSPACE/src -o $GITHUB_WORKSPACE/build -t Release \
52-
--ci-defaults $ARGS \
52+
--ci-defaults --use-zstd $ARGS \
5353
-DCMAKE_C_COMPILER_LAUNCHER=ccache \
5454
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
5555
-DLLVM_INSTALL_UTILS=ON

.github/workflows/sycl-nightly-benchmarking.yml

Lines changed: 0 additions & 52 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)