Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ece0c23d authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'nonregression' into 'master'

plafrim benchmarks: avoid to get warned if regressions on small matrices (high variability)

See merge request !491
parents 15fa78bd 71c851be
No related branches found
No related tags found
1 merge request!491plafrim benchmarks: avoid to get warned if regressions on small matrices (high variability)
...@@ -193,7 +193,9 @@ def format_entry_stats(row: Row, mpivendor: str, commit_chameleon: Repo, commit_ ...@@ -193,7 +193,9 @@ def format_entry_stats(row: Row, mpivendor: str, commit_chameleon: Repo, commit_
if diff > maxAcceptableDiff: if diff > maxAcceptableDiff:
print("Regression: inputs %(Hostname)s, %(MPIvendor)s, %(Algorithm)s, %(Precision)s, %(Nmpi)s, %(P)s, %(Q)s, %(Nthread)s, %(Ngpu)s, %(M)s, %(N)s, %(K)s " % result) print("Regression: inputs %(Hostname)s, %(MPIvendor)s, %(Algorithm)s, %(Precision)s, %(Nmpi)s, %(P)s, %(Q)s, %(Nthread)s, %(Ngpu)s, %(M)s, %(N)s, %(K)s " % result)
print("Regression: outputs Gflops={0}, previousMean={1}, diff={2}, maxAcceptableDiff={3}".format(currentV, previousMean, diff, maxAcceptableDiff)) print("Regression: outputs Gflops={0}, previousMean={1}, diff={2}, maxAcceptableDiff={3}".format(currentV, previousMean, diff, maxAcceptableDiff))
err = 1 # make the script fail only if regression for not too small matrices
if (result['M'] > 10000) and (result['N'] > 10000):
err = 1
return [result_stats, err] return [result_stats, err]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment