File tree 1 file changed +23
-1
lines changed
1 file changed +23
-1
lines changed Original file line number Diff line number Diff line change 23
23
# Install sycl
24
24
- name : Clean up
25
25
if : always()
26
- run : rm -rf llvm sycl_linux.tar.gz
26
+ run : rm -rf llvm llvm_bench_workdir sycl_linux.tar.gz
27
27
28
28
- name : Download llvm daily release
29
29
run : |
@@ -120,3 +120,25 @@ jobs:
120
120
echo "---Run build_log test" && ./build_log
121
121
echo "---Run parallel_for_range_roundup test" && ./parallel_for_range_roundup
122
122
echo "---Run fill_any_size test" && ./fill_any_size
123
+
124
+ # Run sycl benchmarks
125
+ - name : Install pip dependencies
126
+ run : |
127
+ echo "BENCH_SCRIPT_DIR=${{ github.workspace }}/sycl_repo/devops/scripts/benchmarks" >> $GITHUB_ENV
128
+ python3 -m venv .venv
129
+ source .venv/bin/activate
130
+ pip install -r ${env.BENCH_SCRIPTS_DIR}/requirements.txt
131
+
132
+ - name : Run sycl benchmarks
133
+ run : >
134
+ source .venv/bin/activate &&
135
+ taskset -c "4-27"
136
+ python3 ${env.BENCH_SCRIPTS_DIR}/main.py
137
+ ${{github.workspace}}/llvm_bench_workdir
138
+ --sycl ${{github.workspace}}/llvm
139
+ --ur ${{github.workspace}}/llvm
140
+ --umf ${{github.workspace}}/llvm
141
+ --adapter level_zero
142
+ --exit-on-failure
143
+ --compute-runtime
144
+ --build-igc
You can’t perform that action at this time.
0 commit comments