https://github.com/linbox-team/fflas-ffpack
Raw File
Tip revision: 795f6440853868a025d20d0e85472e5fec870aa8 authored by Pierre Karpman on 29 March 2021, 09:09:35 UTC
Merge branch 'master' into vfmadd
Tip revision: 795f644
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