Skip to content
Snippets Groups Projects
Commit 4bc41fbe authored by Bram Veenboer's avatar Bram Veenboer
Browse files

COB-121: Reverse performance metric for tSubbandProcPerformance

parent 94e35813
No related branches found
No related tags found
1 merge request!436COB-148: Enable NVRTC for CUDA kernel compilation
......@@ -79,9 +79,9 @@ for name, runtime_reference in measurements_reference.items():
runtime_candidate = measurements_candidate[name]
# Compare the two measurements
performance = runtime_reference / runtime_candidate * 100
performance = runtime_candidate / runtime_reference * 100
result = "\"{}\", reference: {:.2f}, candidate: {:.2f} ({:.1f} %)".format(name, runtime_reference, runtime_candidate, performance)
if (performance > (100 - tolerance)):
if (performance < (100 + tolerance)):
passed.append(result)
else:
failed.append(result)
......
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