Skip to content

Commit 7bdb7d9

Browse files
committed
Merge branch 'sycl' into llvmspirv_pulldown
2 parents 0f19fbd + 5c76d4c commit 7bdb7d9

File tree

83 files changed

+2467
-204
lines changed

Some content is hidden

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

83 files changed

+2467
-204
lines changed

.github/workflows/sycl-aws.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ on:
2121

2222
jobs:
2323
aws:
24-
runs-on: ubuntu-20.04
24+
runs-on: ubuntu-latest
2525
environment: aws
2626
steps:
2727
- uses: actions/checkout@v4

.github/workflows/sycl-containers-igc-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
build_and_push_images:
2323
if: github.repository == 'intel/llvm'
2424
name: Build and Push IGC Dev Docker Images
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-latest
2626
permissions:
2727
packages: write
2828
strategy:

.github/workflows/sycl-containers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
build_and_push_images:
3030
if: github.repository == 'intel/llvm'
3131
name: Build and Push Docker Images
32-
runs-on: ubuntu-22.04
32+
runs-on: ubuntu-latest
3333
permissions:
3434
packages: write
3535
strategy:

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
})
4646
4747
aws-start:
48-
runs-on: ubuntu-20.04
48+
runs-on: ubuntu-latest
4949
environment: aws
5050
steps:
5151
- uses: actions/checkout@v4
@@ -106,7 +106,7 @@ jobs:
106106
aws-stop:
107107
needs: [aws-start, e2e-cuda]
108108
if: always()
109-
runs-on: ubuntu-20.04
109+
runs-on: ubuntu-latest
110110
environment: aws
111111
steps:
112112
- uses: actions/checkout@v4

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,14 @@ jobs:
9191
runner: '["Linux", "pvc"]'
9292
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
9393
target_devices: level_zero:gpu;opencl:gpu
94+
reset_intel_gpu: true
9495
extra_lit_opts: -j 50
9596
- name: Dev IGC on Intel Ponte Vecchio GPU
9697
runner: '["Linux", "pvc"]'
9798
image: ghcr.io/intel/llvm/ubuntu2404_intel_drivers:devigc
9899
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
99100
target_devices: level_zero:gpu;opencl:gpu
101+
reset_intel_gpu: true
100102
use_igc_dev: true
101103
extra_lit_opts: -j 50
102104
- name: Intel Battlemage Graphics

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

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,17 @@ on:
3838
ref:
3939
type: string
4040
required: True
41+
description: |
42+
Commit SHA or branch to checkout the intel/llvm repo.
4143
devops_ref:
4244
type: string
4345
required: False
4446
description: |
45-
By default we checkout the devops directory from "inputs.ref" branch.
46-
devops_ref may be specified to checkout the devops dir from different
47-
branch.
48-
Note: it doesn't affect ./devops/actions/run-tests/* as these actions
49-
call checkout again and therefore override the devops directory, so
50-
configs/dependecies from input.ref are used.
47+
Commit SHA or branch to checkout the devops directory.
48+
tests_ref:
49+
type: string
50+
required: False
51+
description: Commit SHA or branch to checkout e2e/cts tests.
5152

5253
sycl_toolchain_artifact:
5354
type: string
@@ -205,7 +206,13 @@ jobs:
205206
if: inputs.reset_intel_gpu == 'true'
206207
run: |
207208
sudo mount -t debugfs none /sys/kernel/debug
208-
sudo bash -c 'echo 1 > /sys/kernel/debug/dri/0/i915_wedged'
209+
base_dir="/sys/kernel/debug/dri"
210+
211+
for dir in "$base_dir"/*; do
212+
if [ -f "$dir/i915_wedged" ]; then
213+
sudo bash -c 'echo 1 > $0/i915_wedged' $dir
214+
fi
215+
done
209216
- uses: actions/checkout@v4
210217
with:
211218
ref: ${{ inputs.devops_ref || inputs.ref }}
@@ -298,7 +305,7 @@ jobs:
298305
if: inputs.tests_selector == 'e2e'
299306
uses: ./devops/actions/run-tests/e2e
300307
with:
301-
ref: ${{ inputs.ref || github.sha }}
308+
ref: ${{ inputs.tests_ref || inputs.ref || github.sha }}
302309
binaries_artifact: ${{ inputs.e2e_binaries_artifact }}
303310
testing_mode: ${{ inputs.e2e_testing_mode }}
304311
extra_cmake_args: ${{ inputs.extra_cmake_args }}
@@ -310,6 +317,7 @@ jobs:
310317
if: inputs.tests_selector == 'cts'
311318
uses: ./devops/actions/run-tests/cts
312319
with:
320+
ref: ${{ inputs.tests_ref || 'main' }}
313321
extra_cmake_args: ${{ inputs.extra_cmake_args }}
314322
cts_testing_mode: ${{ inputs.cts_testing_mode }}
315323
sycl_cts_artifact: ${{ inputs.sycl_cts_artifact }}

.github/workflows/sycl-nightly.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ jobs:
7676
runner: '["Linux", "pvc"]'
7777
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
7878
target_devices: level_zero:gpu
79+
reset_intel_gpu: true
7980

8081
- name: Intel L0 Battlemage GPU
8182
runner: '["Linux", "bmg"]'
@@ -113,6 +114,7 @@ jobs:
113114
runner: '["Linux", "pvc"]'
114115
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
115116
target_devices: level_zero:gpu
117+
reset_intel_gpu: true
116118
extra_lit_opts: --param test-preview-mode=True
117119

118120
uses: ./.github/workflows/sycl-linux-run-tests.yml
@@ -137,6 +139,7 @@ jobs:
137139
name: Intel PVC L0 oneAPI
138140
runner: '["Linux", "pvc"]'
139141
target_devices: level_zero:gpu
142+
reset_intel_gpu: true
140143
extra_lit_opts: -j 50
141144
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
142145
ref: ${{ github.sha }}
@@ -268,7 +271,7 @@ jobs:
268271
runner: '["Linux", "pvc"]'
269272
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
270273
target_devices: level_zero:gpu
271-
reset_intel_gpu: false
274+
reset_intel_gpu: true
272275
uses: ./.github/workflows/sycl-linux-run-tests.yml
273276
secrets: inherit
274277
with:

.github/workflows/sycl-stale-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
permissions:
1212
issues: write # for actions/stale to close stale issues
1313
pull-requests: write # for actions/stale to close stale PRs
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/stale@v9
1717
with:

.github/workflows/sycl-sync-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
sync:
1010
permissions:
1111
contents: write # for Git to git push
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-latest
1313
if: github.repository == 'intel/llvm'
1414
steps:
1515
- uses: actions/checkout@v4

.github/workflows/sycl-update-gpu-driver.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
update_driver_linux:
1212
permissions:
1313
contents: write # for Git to git push
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-latest
1515
if: github.repository == 'intel/llvm'
1616
steps:
1717
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)