Skip to content

Commit b6d1bac

Browse files
AlexanderKalistratovZzEeKkAa
authored andcommitted
Add fp32 precision to matrix
1 parent 5318bfd commit b6d1bac

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

.github/workflows/build_and_run.yml

Lines changed: 5 additions & 2 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.
@@ -174,10 +175,12 @@ jobs:
174175
echo "OCL_ICD_FILENAMES=$env:CONDA_PREFIX\Library\lib\intelocl64.dll" >> $env:GITHUB_ENV
175176
176177
- name: Run benchmarks
177-
run: dpbench -i ${{env.WORKLOADS}} run -r2 --no-print-results || exit 1
178+
run: dpbench -i ${{env.WORKLOADS}} run -r2 --no-print-results --precision=${{matrix.precision}} || exit 1
178179

179180
- name: Run rodinia benchmarks
180-
run: dpbench -i ${{env.WORKLOADS}} --last-run run -r2 --no-print-results --rodinia --no-dpbench|| exit 1
181+
# TODO: fix rodinia benchmark: https://github.com/IntelPython/dpbench/issues/316
182+
if: matrix.precision != 'single'
183+
run: dpbench -i ${{env.WORKLOADS}} --last-run run -r2 --no-print-results --rodinia --no-dpbench --precision=${{matrix.precision}} || exit 1
181184

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

.github/workflows/conda-package.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ jobs:
112112
matrix:
113113
python: ['3.9', '3.10', '3.11']
114114
os: [ubuntu-20.04, ubuntu-latest, windows-latest]
115+
precision: ["single", "double"]
115116
experimental: [false]
116117

117118
continue-on-error: ${{ matrix.experimental }}
@@ -193,11 +194,13 @@ jobs:
193194
# we want to make sure that configuration files are geting populated
194195
- name: Run npbench benchmark
195196
run: |
196-
dpbench -i numpy -b azimint_hist run --npbench
197+
dpbench -i numpy -b azimint_hist run --npbench --precision=${{matrix.precision}}
197198
198199
- name: Run rodinia benchmark
200+
# TODO: fix rodinia benchmark: https://github.com/IntelPython/dpbench/issues/316
201+
if: matrix.precision != 'single'
199202
run: |
200-
dpbench run --rodinia --no-dpbench --no-validate -r 1
203+
dpbench run --rodinia --no-dpbench --no-validate -r 1 --precision=${{matrix.precision}}
201204
202205
upload_anaconda:
203206
name: Upload dppy/label/dev ['${{ matrix.os }}', python='${{ matrix.python }}']

0 commit comments

Comments
 (0)