diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-23 17:58:56 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2017-04-23 17:58:56 +0200 |
commit | 1c33af6eabdc1bc7be7b311fa29c0599cebbf0e6 (patch) | |
tree | ac876c117d24c44f8ebe91de372817b3fd23c320 /scripts | |
parent | 049d0fc95a5a1865e3f94369d9c74e2d28f6bcb8 (diff) |
Re-added Titan X (Pascal) tuning results based on more averaging when tuning
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/database/database/io.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/database/database/io.py b/scripts/database/database/io.py index d14f1297..0bba2ce1 100644 --- a/scripts/database/database/io.py +++ b/scripts/database/database/io.py @@ -56,5 +56,11 @@ def load_tuning_results(filename): assert json_data["precision"] == str(result["parameters"]["PRECISION"]) result["parameters"].pop("PRECISION", None) + # Fixes the scalar argument values + for value, replacement in zip(["2.00", "2.00+0.50i"], ["2.000000", "2+0.5i"]): + for field in ["arg_alpha", "arg_beta"]: + if field in json_data.keys() and json_data[field] == value: + json_data[field] = replacement + # All done return json_data |