diff --git a/sw/blas/gemm/verify.py b/sw/blas/gemm/verify.py index 03c6ab8131..508c15f256 100755 --- a/sw/blas/gemm/verify.py +++ b/sw/blas/gemm/verify.py @@ -53,6 +53,9 @@ def main(): absolute_err = np.absolute(c_golden - c_actual) fail = np.any(absolute_err > ERR_THRESHOLD) + if (fail): + verification.dump_results_to_csv([c_golden, c_actual, absolute_err], + Path.cwd() / 'gemm_results.csv') return int(fail)