https://github.com/linbox-team/fflas-ffpack
Tip revision: aaf0b3d935b7706152909f59a0d1b01ec4e7cf90 authored by Cyril Bouvier on 28 August 2020, 08:59:30 UTC
call SET_FLAGS from configure.ac #315
call SET_FLAGS from configure.ac #315
Tip revision: aaf0b3d
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