Revision 9d24f128993fab182af3b23215a10bcf5a63fae3 authored by Clément Pernet on 24 March 2021, 14:37:13 UTC, committed by GitHub on 24 March 2021, 14:37:13 UTC
* add some const tags, which are needed

* take OMPFLAGS from environment

See https://github.com/linbox-team/fflas-ffpack/issues/309

* Revert "add some const tags, which are needed"

This reverts commit 5e0a0d9d24f7f3dc7bed05126532cfdc5e605b15.

Co-authored-by: Daniel R. Grayson <dan@math.uiuc.edu>
Co-authored-by: Mahrud Sayrafi <mahrud@berkeley.edu>
1 parent 05443b2
Raw File
tune_fgemm.sh
#!/bin/bash
echo =================================================
echo ========= FFLAS-FFPACK fgemm Autotuning =========
echo =================================================
echo 
echo "== Tuning fgemm over Modular<double> =="
(./winograd-modular-double > fgemm-thresholds.h) 2>&1 | tee fgemm-autotune.log
val=${PIPESTATUS[0]}; if test ${val} -ne 0 ; then exit ${val}; fi
echo 
echo "== Tuning fgemm over Modular<float> =="
(./winograd-modular-float >>  fgemm-thresholds.h) 2>&1 | tee -a fgemm-autotune.log
val=${PIPESTATUS[0]}; if test ${val} -ne 0 ; then exit ${val}; fi
echo 
echo "== Tuning fgemm over ModularBalanced<double> =="
(./winograd-modularbalanced-double >> fgemm-thresholds.h) 2>&1 | tee -a fgemm-autotune.log
val=${PIPESTATUS[0]}; if test ${val} -ne 0 ; then exit ${val}; fi
echo 
echo "== Tuning fgemm over ModularBalanced<float> =="
(./winograd-modularbalanced-float >>  fgemm-thresholds.h) 2>&1 | tee -a fgemm-autotune.log
val=${PIPESTATUS[0]}; if test ${val} -ne 0 ; then exit ${val}; fi
back to top