Skip to content

Commit 6eb92c9

Browse files
Test dockers for UR
1 parent 946e9b8 commit 6eb92c9

16 files changed

+336
-296
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@ devops/ @intel/dpcpp-devops-reviewers
128128
# dev-igc driver update
129129
devops/dependencies-igc-dev.json @intel/sycl-matrix-reviewers @intel/dpcpp-esimd-reviewers @intel/dpcpp-devops-reviewers
130130

131-
# Benchmarking scripts
132-
devops/scripts/benchmarks/ @intel/llvm-reviewers-benchmarking
133-
134131
# Kernel fusion JIT compiler
135132
sycl-jit/ @intel/dpcpp-kernel-fusion-reviewers
136133
sycl/doc/design/KernelFusionJIT.md @intel/dpcpp-kernel-fusion-reviewers
@@ -211,4 +208,3 @@ llvm/test/Instrumentation/MemorySanitizer/ @intel/dpcpp-sanitizers-review
211208
llvm/test/Instrumentation/ThreadSanitizer/ @intel/dpcpp-sanitizers-review
212209
sycl/test-e2e/AddressSanitizer/ @intel/dpcpp-sanitizers-review
213210
sycl/test-e2e/MemorySanitizer/ @intel/dpcpp-sanitizers-review
214-
sycl/test-e2e/ThreadSanitizer/ @intel/dpcpp-sanitizers-review

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
fetch-depth: 1
6666
- name: Get subprojects that have doc changes
6767
id: docs-changed-subprojects
68-
uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1
68+
uses: tj-actions/changed-files@v45
6969
with:
7070
files_yaml: |
7171
llvm:

.github/workflows/pr-code-format.yml

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

3535
- name: Get changed files
3636
id: changed-files
37-
uses: step-security/changed-files@3dbe17c78367e7d60f00d78ae6781a35be47b4a1 # v45.0.1
37+
uses: tj-actions/changed-files@v45
3838
with:
3939
separator: ","
4040
skip_initial_fetch: true

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,8 @@ jobs:
167167
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
168168
-DLLVM_INSTALL_UTILS=ON \
169169
-DNATIVECPU_USE_OCK=Off \
170-
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=SPIRV
170+
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=SPIRV \
171+
--level_zero_v1_and_v2
171172
- name: Compile
172173
id: build
173174
run: cmake --build $GITHUB_WORKSPACE/build --target sycl-toolchain

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

Lines changed: 98 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ permissions:
2121

2222
jobs:
2323
create-check:
24+
if: false
2425
runs-on: [Linux, aux-tasks]
2526
permissions:
2627
checks: write
@@ -45,78 +46,107 @@ jobs:
4546
})
4647
4748
aws-start:
49+
if: false
4850
runs-on: ubuntu-latest
49-
environment: aws
5051
steps:
51-
- uses: actions/checkout@v4
52-
with:
53-
sparse-checkout: devops/actions/aws-ec2
54-
- run: npm install ./devops/actions/aws-ec2
55-
- uses: ./devops/actions/aws-ec2
56-
with:
57-
mode: start
58-
runs-on-list: '[{"runs-on":"aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
59-
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
60-
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
61-
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
52+
- run: echo 'do nothing'
53+
# create-check:
54+
# runs-on: [Linux, aux-tasks]
55+
# permissions:
56+
# checks: write
57+
# statuses: write
58+
# steps:
59+
# - uses: actions/github-script@v7
60+
# with:
61+
# script: |
62+
# const sha = context.payload.workflow_run.head_sha
63+
# const run_id = '${{ github.run_id }}'
64+
# const this_run_url = 'https://github.com/' + context.repo.owner + '/' + context.repo.repo + '/actions/runs/' + run_id
6265

63-
e2e-cuda:
64-
needs: [aws-start]
65-
uses: ./.github/workflows/sycl-linux-run-tests.yml
66-
with:
67-
name: CUDA E2E
68-
runner: '["aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}"]'
69-
image: ghcr.io/intel/llvm/ubuntu2204_build:latest
70-
image_options: -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
71-
target_devices: cuda:gpu
72-
# No idea why but that seems to work and be in sync with the main
73-
# pre-commit workflow.
74-
repo_ref: ${{ github.event.workflow_run.referenced_workflows[0].sha }}
66+
# // Create commit status.
67+
# await github.request('POST /repos/{owner}/{repo}/statuses/{sha}', {
68+
# owner: context.repo.owner,
69+
# repo: context.repo.repo,
70+
# sha: sha,
71+
# state: 'pending',
72+
# target_url: this_run_url,
73+
# description: 'SYCL E2E on AWS CUDA',
74+
# context: 'SYCL E2E on AWS CUDA',
75+
# })
7576

76-
sycl_toolchain_artifact: sycl_linux_default
77-
sycl_toolchain_archive: llvm_sycl.tar.zst
78-
sycl_toolchain_decompress_command: zstd
77+
# aws-start:
78+
# runs-on: ubuntu-latest
79+
# environment: aws
80+
# steps:
81+
# - uses: actions/checkout@v4
82+
# with:
83+
# sparse-checkout: devops/actions/aws-ec2
84+
# - run: npm install ./devops/actions/aws-ec2
85+
# - uses: ./devops/actions/aws-ec2
86+
# with:
87+
# mode: start
88+
# runs-on-list: '[{"runs-on":"aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
89+
# GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
90+
# AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
91+
# AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
7992

80-
update-check:
81-
needs: [create-check, e2e-cuda]
82-
if: always()
83-
runs-on: [Linux, aux-tasks]
84-
permissions:
85-
checks: write
86-
statuses: write
87-
steps:
88-
- uses: actions/github-script@v7
89-
with:
90-
script: |
91-
const sha = context.payload.workflow_run.head_sha
92-
const run_id = '${{ github.run_id }}'
93-
const this_run_url = 'https://github.com/' + context.repo.owner + '/' + context.repo.repo + '/actions/runs/' + run_id
93+
# e2e-cuda:
94+
# needs: [aws-start]
95+
# uses: ./.github/workflows/sycl-linux-run-tests.yml
96+
# with:
97+
# name: CUDA E2E
98+
# runner: '["aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}"]'
99+
# image: ghcr.io/intel/llvm/ubuntu2204_build:latest
100+
# image_options: -u 1001 --gpus all --cap-add SYS_ADMIN --env NVIDIA_DISABLE_REQUIRE=1
101+
# target_devices: cuda:gpu
102+
# # No idea why but that seems to work and be in sync with the main
103+
# # pre-commit workflow.
104+
# repo_ref: ${{ github.event.workflow_run.referenced_workflows[0].sha }}
94105

95-
// Update commit status.
96-
await github.request('POST /repos/{owner}/{repo}/statuses/{sha}', {
97-
owner: context.repo.owner,
98-
repo: context.repo.repo,
99-
sha: sha,
100-
state: '${{ needs.e2e-cuda.result }}',
101-
target_url: this_run_url,
102-
description: 'SYCL E2E on AWS CUDA',
103-
context: 'SYCL E2E on AWS CUDA',
104-
})
106+
# sycl_toolchain_artifact: sycl_linux_default
107+
# sycl_toolchain_archive: llvm_sycl.tar.zst
108+
# sycl_toolchain_decompress_command: zstd
105109

106-
aws-stop:
107-
needs: [aws-start, e2e-cuda]
108-
if: always()
109-
runs-on: ubuntu-latest
110-
environment: aws
111-
steps:
112-
- uses: actions/checkout@v4
113-
with:
114-
sparse-checkout: devops/actions/aws-ec2
115-
- run: npm install ./devops/actions/aws-ec2
116-
- uses: ./devops/actions/aws-ec2
117-
with:
118-
mode: stop
119-
runs-on-list: '[{"runs-on":"aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
120-
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
121-
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
122-
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
110+
# update-check:
111+
# needs: [create-check, e2e-cuda]
112+
# if: always()
113+
# runs-on: [Linux, aux-tasks]
114+
# permissions:
115+
# checks: write
116+
# statuses: write
117+
# steps:
118+
# - uses: actions/github-script@v7
119+
# with:
120+
# script: |
121+
# const sha = context.payload.workflow_run.head_sha
122+
# const run_id = '${{ github.run_id }}'
123+
# const this_run_url = 'https://github.com/' + context.repo.owner + '/' + context.repo.repo + '/actions/runs/' + run_id
124+
125+
# // Update commit status.
126+
# await github.request('POST /repos/{owner}/{repo}/statuses/{sha}', {
127+
# owner: context.repo.owner,
128+
# repo: context.repo.repo,
129+
# sha: sha,
130+
# state: '${{ needs.e2e-cuda.result }}',
131+
# target_url: this_run_url,
132+
# description: 'SYCL E2E on AWS CUDA',
133+
# context: 'SYCL E2E on AWS CUDA',
134+
# })
135+
136+
# aws-stop:
137+
# needs: [aws-start, e2e-cuda]
138+
# if: always()
139+
# runs-on: ubuntu-latest
140+
# environment: aws
141+
# steps:
142+
# - uses: actions/checkout@v4
143+
# with:
144+
# sparse-checkout: devops/actions/aws-ec2
145+
# - run: npm install ./devops/actions/aws-ec2
146+
# - uses: ./devops/actions/aws-ec2
147+
# with:
148+
# mode: stop
149+
# runs-on-list: '[{"runs-on":"aws_cuda-${{ github.event.workflow_run.id }}-${{ github.event.workflow_run.run_attempt }}","aws-ami":"ami-01cb0573cb039ab24","aws-type":["g5.2xlarge","g5.4xlarge"],"aws-disk":"/dev/sda1:64","aws-spot":"false"}]'
150+
# GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
151+
# AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
152+
# AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}

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

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ on:
1212
paths-ignore:
1313
- '.github/ISSUE_TEMPLATE/**'
1414
- '.github/CODEOWNERS'
15-
- 'sycl/cts_exclude_filter/**'
1615
- 'sycl/doc/**'
1716
- 'sycl/gdb/**'
1817
- 'clang/docs/**'
@@ -38,7 +37,8 @@ jobs:
3837

3938
build:
4039
needs: [detect_changes]
41-
if: always() && success()
40+
# if: always() && success()
41+
if: false
4242
uses: ./.github/workflows/sycl-linux-build.yml
4343
with:
4444
build_ref: ${{ github.sha }}
@@ -54,7 +54,8 @@ jobs:
5454

5555
run_prebuilt_e2e_tests:
5656
needs: [build, detect_changes]
57-
if: ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
57+
# if: ${{ always() && !cancelled() && needs.build.outputs.build_conclusion == 'success' }}
58+
if: false
5859
strategy:
5960
fail-fast: false
6061
matrix:
@@ -147,11 +148,12 @@ jobs:
147148

148149
test-perf:
149150
needs: [build, detect_changes]
150-
if: |
151-
always() && !cancelled()
152-
&& needs.build.outputs.build_conclusion == 'success'
153-
&& (contains(github.event.pull_request.labels.*.name, 'run-perf-tests')
154-
|| contains(needs.detect_changes.outputs.filters, 'perf-tests'))
151+
# if: |
152+
# always() && !cancelled()
153+
# && needs.build.outputs.build_conclusion == 'success'
154+
# && (contains(github.event.pull_request.labels.*.name, 'run-perf-tests')
155+
# || contains(needs.detect_changes.outputs.filters, 'perf-tests'))
156+
if: false
155157
strategy:
156158
fail-fast: false
157159
matrix:

.github/workflows/sycl-nightly.yml

Lines changed: 5 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,12 @@ jobs:
202202
with:
203203
mode: stop
204204

205-
build-sycl-cts-linux:
205+
build-sycl-cts:
206206
needs: ubuntu2204_build
207207
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
208208
uses: ./.github/workflows/sycl-linux-run-tests.yml
209209
with:
210-
name: Build SYCL-CTS for Linux
210+
name: Build SYCL-CTS
211211
runner: '["Linux", "build"]'
212212
cts_testing_mode: 'build-only'
213213
image_options: -u 1001 --device=/dev/dri --privileged --cap-add SYS_ADMIN
@@ -216,10 +216,9 @@ jobs:
216216
sycl_toolchain_artifact: sycl_linux_default
217217
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
218218
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
219-
sycl_cts_artifact: sycl_cts_bin_linux
220219

221-
run-sycl-cts-linux:
222-
needs: [ubuntu2204_build, build-sycl-cts-linux]
220+
run-sycl-cts:
221+
needs: [ubuntu2204_build, build-sycl-cts]
223222
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
224223
strategy:
225224
fail-fast: false
@@ -246,41 +245,7 @@ jobs:
246245
sycl_toolchain_artifact: sycl_linux_default
247246
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
248247
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
249-
sycl_cts_artifact: sycl_cts_bin_linux
250-
251-
build-sycl-cts-win:
252-
needs: build-win
253-
if: ${{ always() && !cancelled() && needs.build-win.outputs.build_conclusion == 'success' }}
254-
uses: ./.github/workflows/sycl-windows-run-tests.yml
255-
with:
256-
name: Build SYCL-CTS for Windows
257-
runner: '["Windows", "build-e2e"]'
258-
cts_testing_mode: 'build-only'
259-
tests_selector: cts
260-
repo_ref: ${{ github.sha }}
261-
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
262-
sycl_cts_artifact: sycl_cts_bin_win
263-
264-
run-sycl-cts-win:
265-
needs: [build-win, build-sycl-cts-win]
266-
if: ${{ always() && !cancelled() && needs.build-win.outputs.build_conclusion == 'success' }}
267-
strategy:
268-
fail-fast: false
269-
matrix:
270-
include:
271-
- name: SYCL-CTS on L0 gen12
272-
runner: '["Windows", "gen12"]'
273-
target_devices: level_zero:gpu
274-
uses: ./.github/workflows/sycl-windows-run-tests.yml
275-
with:
276-
name: ${{ matrix.name }}
277-
runner: ${{ matrix.runner }}
278-
cts_testing_mode: 'run-only'
279-
target_devices: ${{ matrix.target_devices }}
280-
tests_selector: cts
281-
repo_ref: ${{ github.sha }}
282-
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
283-
sycl_cts_artifact: sycl_cts_bin_win
248+
sycl_cts_artifact: sycl_cts_bin
284249

285250
aggregate_benchmark_results:
286251
if: github.repository == 'intel/llvm' && !cancelled()

.github/workflows/sycl-post-commit.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ concurrency:
2929
permissions: read-all
3030

3131
jobs:
32-
detect_changes:
33-
if: ${{ github.event_name == 'pull_request' }}
34-
uses: ./.github/workflows/sycl-detect-changes.yml
35-
3632
build-lin:
3733
name: Linux (Self build + no-assertions)
3834
if: github.repository == 'intel/llvm'
@@ -44,7 +40,7 @@ jobs:
4440
build_configure_extra_args: --no-assertions --hip --cuda --native_cpu -DSYCL_ENABLE_STACK_PRINTING=ON -DSYCL_LIB_WITH_DEBUG_SYMBOL=ON
4541

4642
e2e-lin:
47-
needs: [detect_changes, build-lin]
43+
needs: [build-lin]
4844
if: ${{ always() && !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }}
4945
strategy:
5046
fail-fast: false
@@ -98,13 +94,6 @@ jobs:
9894
sycl_toolchain_archive: ${{ needs.build-lin.outputs.artifact_archive_name }}
9995
sycl_toolchain_decompress_command: ${{ needs.build-lin.outputs.artifact_decompress_command }}
10096

101-
# Do not install drivers on AMD and CUDA runners.
102-
install_igc_driver: >-
103-
${{ github.event_name == 'pull_request' }} &&
104-
${{ !contains(matrix.target_devices, 'cuda') &&
105-
!contains(matrix.target_devices, 'hip') &&
106-
contains(needs.detect_changes.outputs.filters, 'drivers') }}
107-
10897
build-win:
10998
if: |
11099
always()

0 commit comments

Comments
 (0)