Use whole data from PTI activity record#1278
Conversation
Use whole data from PTI activity record for json event metadata.
|
I notice a lot of formatting issues. Could someone help what version of clang-format is used on CI ? |
|
XPU CI results: pytorch/pytorch#175974 |
|
@moksiuc do we have case to cover these code changes? |
|
What kind of case do you mean ? |
Is there any kineto case to check the output items or formats? |
|
It is all available as metadate in output json for perfetto, so every user can use this data as needed. |
|
@sraikund16 @divyanshk @scotts |
|
@divyanshk has imported this pull request. If you are a Meta employee, you can view this in D96775775. |
|
@divyanshk merged this pull request in c6c84d0. |
Use whole data from PTI activity record for json event metadata. The exemplary json entry would look like:
{
"ph": "X", "cat": "kernel", "name": "gemm_kernel", "pid": 0, "tid": 64,
"ts": 4998378035536.824, "dur": 12.320,
"args": {
"External id": 2,
"sycl_node_id": 394900016,
"kernel_id": 11,
"l0 queue": "0x00000000172ac848",
"device": 0, "correlation": 12616,
"context": "0x000000001292ef08",
"sycl queue": 64
"sycl_invocation_id": 1,
"sycl_task_begin": "4998378035116.909",
"sycl_enqk_begin": "4998378035152.331",
"appended": "4998378035418.264",
"submitted": "4998378035418.264",
"sycl_task_begin_rel_to_start": "-419.915",
"sycl_enqk_begin_rel_to_start": "-384.493",
"appended_rel_to_start": "-118.560",
"submitted_rel_to_start": "-118.560",
"source_file_name": "",
"source_line_number": 0,
}
},