diff --git a/.github/workflows/build_and_run.yml b/.github/workflows/build_and_run.yml index c5332028..2f8728bd 100644 --- a/.github/workflows/build_and_run.yml +++ b/.github/workflows/build_and_run.yml @@ -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. @@ -173,14 +174,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