Skip to content

Commit

Permalink
Added time unit metadata to T4 output
Browse files Browse the repository at this point in the history
  • Loading branch information
fjwillemsen committed Oct 23, 2024
1 parent 6062e50 commit 11a86eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel_tuner/file_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def get_t4_results(results, tune_params, objective="time"):

# write output_data to a JSON file
version, _ = output_file_schema("results")
output_json = dict(results=output_data, schema_version=version)
output_json = dict(results=output_data, schema_version=version, metadata={'timeunit': 'miliseconds'})
return output_json

def store_output_file(output_filename: str, results, tune_params, objective="time"):
Expand Down

0 comments on commit 11a86eb

Please sign in to comment.