Repository navigation
111 lines (100 loc) · 3.74 KB
/
Copy pathinternal.benchmark.yml
File metadata and controls
111 lines (100 loc) · 3.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
## Copyright 2022 Intel Corporation
## SPDX-License-Identifier: Apache-2.0
name: (Internal) Benchmarks
on:
schedule:
- cron: '30 1 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: read-all
jobs:
build-rocky8-icx:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
force-delete: true # guarantees .gitattributes are respected in working dir
image: rockylinux:8
env-from-files: .github/deps/dpcpp-linux-icx.env
artifact-out: build-rocky8-icx
artifact-path: ./build/install ./build/openvkl/build
cmd: |
export CXXFLAGS="-fPIC -fp-model=precise"
export LDFLAGS="-static-intel"
.github/scripts/build.sh
benchmark-x8280-1:
needs: build-rocky8-icx
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/perf.yml@main
with:
runs-on: '["vis-perf-x8280-1"]'
artifact-in: build-rocky8-icx
cmd: |
cd ./build/install
$GITHUB_WORKSPACE/.github/scripts/run-benchmarks.sh CPU
benchmark-x8380-1:
needs: build-rocky8-icx
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/perf.yml@main
with:
runs-on: '["vis-perf-x8380-1"]'
artifact-in: build-rocky8-icx
cmd: |
cd ./build/install
$GITHUB_WORKSPACE/.github/scripts/run-benchmarks.sh CPU
benchmark-i9-12900k-1:
needs: build-rocky8-icx
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/perf.yml@main
with:
runs-on: '["vis-perf-i9-12900k-1"]'
artifact-in: build-rocky8-icx
cmd: |
cd ./build/install
$GITHUB_WORKSPACE/.github/scripts/run-benchmarks.sh CPU
benchmark-a3970x-1:
needs: build-rocky8-icx
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/perf.yml@main
with:
runs-on: '["vis-perf-a3970x-1"]'
artifact-in: build-rocky8-icx
cmd: |
cd ./build/install
$GITHUB_WORKSPACE/.github/scripts/run-benchmarks.sh CPU
build-gpu:
secrets: inherit
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
image: ubuntu:22.04
artifact-out: build-gpu
artifact-path: ./build/install ./build/openvkl/build
env-from-files: .github/deps/dpcpp-sycl-nightly.env
cmd: |
.github/scripts/build.sh -D BUILD_OPENVDB=OFF \
-D OPENVKL_EXTRA_OPTIONS="-DOPENVKL_ENABLE_DEVICE_GPU=ON \
-DOPENVKL_DEVICE_CPU_STRUCTURED_REGULAR=OFF \
-DOPENVKL_DEVICE_CPU_STRUCTURED_REGULAR_LEGACY=ON"
perf-dg2:
secrets: inherit
needs: [ build-gpu ]
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
image: ubuntu:22.04
runs-on: '[ "vis-perf-dg2-01" ]'
artifact-in: build-gpu
env-from-files: .github/deps/dpcpp-sycl-nightly.env .github/deps/gfx-linux-public.env
options: --device=/dev/dri:/dev/dri
cmd: |
cd ./build/install
$GITHUB_WORKSPACE/.github/scripts/run-benchmarks.sh GPU
perf-pvc:
secrets: inherit
needs: [ build-gpu ]
uses: intel-innersource/libraries.devops.renderkit.workflows/.github/workflows/docker.yml@main
with:
image: ubuntu:22.04
runs-on: '[ "pvc" ]'
artifact-in: build-gpu
env-from-files: .github/deps/dpcpp-sycl-nightly.env .github/deps/gfx-linux-public.env .github/env/pvc-runtime-options.env
options: --device=/dev/dri:/dev/dri
cmd: |
cd ./build/install
$GITHUB_WORKSPACE/.github/scripts/run-benchmarks.sh GPU