Skip to content

Commit ee7d11a

Browse files
committed
fixed bug related to runtimes in simulation mode
1 parent 4ce2f83 commit ee7d11a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel_tuner/file_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ def store_output_file(output_filename: str, results, tune_params, objective="tim
105105
timings["validation"] = result["verification_time"]
106106
if "times" in result:
107107
timings["runtimes"] = result["times"]
108+
else:
109+
timings["runtimes"] = []
108110
out["times"] = timings
109111

110112
# encode the validity of the configuration

0 commit comments

Comments
 (0)