Skip to content

Commit

Permalink
Add precision to workflow matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderKalistratov committed Nov 3, 2023
1 parent 05cb6ba commit 5788a12
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/build_and_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
python: ["3.9", "3.10", "3.11"]
sycl: ["sycl","no-sycl"]
install: ["pip", "setup.py"]
precision: ["single", "double"]
exclude:
# setuptools<64 + scikit-build produce 'UNKOWN' package name for
# python 3.11. Could not find exact reference for that issue.
Expand Down Expand Up @@ -165,14 +166,8 @@ jobs:
&$script_path
echo "OCL_ICD_FILENAMES=$env:CONDA_PREFIX\Library\lib\intelocl64.dll" >> $env:GITHUB_ENV
- name: Run benchmarks fp64
run: dpbench -i ${{env.WORKLOADS}} run -r2 --no-print-results --precision=double || exit 1
- name: Run benchmarks
run: dpbench -i ${{env.WORKLOADS}} run -r2 --no-print-results --precision=${{matrix.precision}} || exit 1

- name: Generate report fp64
run: dpbench -i ${{env.WORKLOADS}} report || exit 1

- name: Run benchmarks fp32
run: dpbench -i ${{env.WORKLOADS}} run -r2 --no-print-results --precision=single || exit 1

- name: Generate report fp32
- name: Generate report
run: dpbench -i ${{env.WORKLOADS}} report || exit 1

0 comments on commit 5788a12

Please sign in to comment.