Modify T4 results json schema#5
Open
jhozzova wants to merge 2 commits intoAutoTuningAssociation:mainfrom
Open
Conversation
added 2 commits
March 10, 2026 09:37
Add objects describing metadata and compilation data to T4 results json schema
Also fix the bug in pattern for version, dots need to be escaped
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi,
I have been working on integrating KTT as an autotuner supported in autotuning_methodology. During that process I came across several necessary changes in T4 results schema so that KTT can read full space search space files and simulate tuning with them. The changes are summarized below. I have kept it backward compatible, everything is optional, and naming is consistent with snake_case. I would suggest bumping schema version to 1.1.0 or 1.0.1 if this pull request is accepted.
I'm happy to discuss these changes and find common ground if something is not suitable for your needs.
Regards,
Janka
Summary of Changes
1. Added
metadataObject (Top-Level)compute_api: API used (OpenCL/CUDA/Vulkan)platform: Platform/SDK namedevice: Device nameautotuner: Framework name (e.g., "KTT")autotuner_version: Framework versiontimestamp: Session start timestamptimeunit: Time unit for all measurements (lowercase snake_case: "nanoseconds", "microseconds", "milliseconds", "seconds")2. Added
typeField to Measurementsmeasurementsarray3. Enhanced
timesObject with New Fieldskernel_overhead: Time spent on kernel launch overheaddata: Time spent on data movement (host-device memory transfers)profiling_runs: Time spent executing profiling runsprofiling_overhead: Overhead from profiling instrumentation4. Added
compilation_dataObjecttimes.compilation_data)5. Enhanced Existing Fields
timespropertiesconfigurationvalues are always stringscorrectnessas binary (0 or 1)