Skip to content

Commit b0fb043

Browse files
AlexanderKalistratovZzEeKkAa
authored andcommitted
Add precision to workflow matrix
1 parent 5b83c3d commit b0fb043

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

.github/workflows/build_and_run.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
python: ["3.9", "3.10", "3.11"]
2424
sycl: ["sycl","no-sycl"]
2525
install: ["pip", "setup.py"]
26+
precision: ["single", "double"]
2627
exclude:
2728
# setuptools<64 + scikit-build produce 'UNKOWN' package name for
2829
# python 3.11. Could not find exact reference for that issue.
@@ -173,14 +174,8 @@ jobs:
173174
&$script_path
174175
echo "OCL_ICD_FILENAMES=$env:CONDA_PREFIX\Library\lib\intelocl64.dll" >> $env:GITHUB_ENV
175176
176-
- name: Run benchmarks fp64
177-
run: dpbench -i ${{env.WORKLOADS}} run -r2 --no-print-results --precision=double || exit 1
177+
- name: Run benchmarks
178+
run: dpbench -i ${{env.WORKLOADS}} run -r2 --no-print-results --precision=${{matrix.precision}} || exit 1
178179

179-
- name: Generate report fp64
180-
run: dpbench -i ${{env.WORKLOADS}} report || exit 1
181-
182-
- name: Run benchmarks fp32
183-
run: dpbench -i ${{env.WORKLOADS}} run -r2 --no-print-results --precision=single || exit 1
184-
185-
- name: Generate report fp32
180+
- name: Generate report
186181
run: dpbench -i ${{env.WORKLOADS}} report || exit 1

0 commit comments

Comments
 (0)