Skip to content

Commit 85c7497

Browse files
committed
Merge branch 'sycl' into llvmspirv_pulldown
2 parents 6f4e6e6 + 29e7b63 commit 85c7497

File tree

109 files changed

+1323
-888
lines changed

Some content is hidden

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

109 files changed

+1323
-888
lines changed
Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,50 @@
11
name: SYCL Nightly Benchmarking
22

3-
# Placeholder workflow for testing https://github.com/intel/llvm/pull/19280
43
on:
54
workflow_dispatch:
5+
schedule:
6+
- cron: '0 2 * * *'
7+
8+
permissions: read-all
69

710
jobs:
8-
do-nothing:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- run: echo "Test workflow for 19280"
11+
ubuntu2204_build:
12+
if: github.repository == 'intel/llvm'
13+
uses: ./.github/workflows/sycl-linux-build.yml
14+
secrets: inherit
15+
with:
16+
build_cache_root: "/__w/"
17+
build_artifact_suffix: default
18+
build_configure_extra_args: '--no-assertions'
19+
build_image: ghcr.io/intel/llvm/ubuntu2404_build:latest
20+
artifact_archive_name: sycl_linux.tar.gz
21+
22+
run-sycl-benchmarks:
23+
needs: [ubuntu2204_build]
24+
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
runner: ['["PVC_PERF"]', '["BMG_PERF"]']
29+
backend: ['level_zero:gpu', 'level_zero_v2:gpu']
30+
include:
31+
- ref: ${{ github.sha }}
32+
save_name: 'Baseline'
33+
preset: 'Minimal'
34+
uses: ./.github/workflows/sycl-linux-run-tests.yml
35+
secrets: inherit
36+
with:
37+
name: Run compute-benchmarks (${{ matrix.runner }}, ${{ matrix.backend }})
38+
runner: ${{ matrix.runner }}
39+
image: ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest
40+
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
41+
target_devices: ${{ matrix.backend }}
42+
tests_selector: benchmarks
43+
benchmark_upload_results: true
44+
benchmark_save_name: ${{ matrix.save_name }}
45+
benchmark_preset: ${{ matrix.preset }}
46+
repo_ref: ${{ matrix.ref }}
47+
sycl_toolchain_artifact: sycl_linux_default
48+
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
49+
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
50+

.github/workflows/sycl-nightly.yml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -280,35 +280,6 @@ jobs:
280280
sycl_toolchain_archive: ${{ needs.build-win.outputs.artifact_archive_name }}
281281
sycl_cts_artifact: sycl_cts_bin_win
282282

283-
run-sycl-benchmarks:
284-
needs: [ubuntu2204_build]
285-
if: ${{ always() && !cancelled() && needs.ubuntu2204_build.outputs.build_conclusion == 'success' }}
286-
strategy:
287-
fail-fast: false
288-
matrix:
289-
runner: ['["PVC_PERF"]', '["BMG_PERF"]']
290-
backend: ['level_zero:gpu', 'level_zero_v2:gpu']
291-
include:
292-
- ref: ${{ github.sha }}
293-
save_name: 'Baseline'
294-
preset: 'Minimal'
295-
uses: ./.github/workflows/sycl-linux-run-tests.yml
296-
secrets: inherit
297-
with:
298-
name: Run compute-benchmarks (${{ matrix.runner }}, ${{ matrix.backend }})
299-
runner: ${{ matrix.runner }}
300-
image: ghcr.io/intel/llvm/sycl_ubuntu2404_nightly:latest
301-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
302-
target_devices: ${{ matrix.backend }}
303-
tests_selector: benchmarks
304-
benchmark_upload_results: true
305-
benchmark_save_name: ${{ matrix.save_name }}
306-
benchmark_preset: ${{ matrix.preset }}
307-
repo_ref: ${{ matrix.ref }}
308-
sycl_toolchain_artifact: sycl_linux_default
309-
sycl_toolchain_archive: ${{ needs.ubuntu2204_build.outputs.artifact_archive_name }}
310-
sycl_toolchain_decompress_command: ${{ needs.ubuntu2204_build.outputs.artifact_decompress_command }}
311-
312283
nightly_build_upload:
313284
name: Nightly Build Upload
314285
if: ${{ github.ref_name == 'sycl' }}

devops/scripts/benchmarks/benches/benchdnn.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ def run(self, env_vars):
161161
unit="ms",
162162
command=command,
163163
env=env_vars,
164-
stdout=output,
165164
git_url=self.suite.git_url(),
166165
git_hash=self.suite.git_tag(),
167166
)

devops/scripts/benchmarks/benches/compute.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@ def run(self, env_vars) -> list[Result]:
303303
stddev=stddev,
304304
command=command,
305305
env=env_vars,
306-
stdout=result,
307306
unit=parse_unit_type(unit),
308307
git_url=self.bench.git_url(),
309308
git_hash=self.bench.git_hash(),

devops/scripts/benchmarks/benches/gromacs.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616

1717
class GromacsBench(Suite):
18-
1918
def git_url(self):
2019
return "https://gitlab.com/gromacs/gromacs.git"
2120

@@ -221,7 +220,6 @@ def run(self, env_vars):
221220
unit="s",
222221
command=command,
223222
env=env_vars,
224-
stdout=mdrun_output,
225223
git_url=self.suite.git_url(),
226224
git_hash=self.suite.git_tag(),
227225
)

devops/scripts/benchmarks/benches/llamacpp.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ def run(self, env_vars) -> list[Result]:
154154
value=mean,
155155
command=command,
156156
env=env_vars,
157-
stdout=result,
158157
unit="token/s",
159158
git_url=self.bench.git_url(),
160159
git_hash=self.bench.git_hash(),

devops/scripts/benchmarks/benches/syclbench.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ def run(self, env_vars) -> list[Result]:
165165
passed=(row[1] == "PASS"),
166166
command=command,
167167
env=env_vars,
168-
stdout=row,
169168
unit="ms",
170169
git_url=self.bench.git_url(),
171170
git_hash=self.bench.git_hash(),

devops/scripts/benchmarks/benches/test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ def run(self, env_vars) -> list[Result]:
9696
value=random_value,
9797
command=["test", "--arg1", "foo"],
9898
env={"A": "B"},
99-
stdout="no output",
10099
unit="ms",
101100
)
102101
]

devops/scripts/benchmarks/benches/umf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ def run(self, env_vars) -> list[Result]:
165165
value=value,
166166
command=command,
167167
env=env_vars,
168-
stdout=result,
169168
unit=self.get_unit_time_or_overhead(explicit_group),
170169
)
171170
)

devops/scripts/benchmarks/benches/velocity.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ def run(self, env_vars) -> list[Result]:
146146
value=self.parse_output(result),
147147
command=command,
148148
env=env_vars,
149-
stdout=result,
150149
unit=self.unit,
151150
git_url=self.vb.git_url(),
152151
git_hash=self.vb.git_hash(),

0 commit comments

Comments
 (0)