PLAT-130888: Added kernel dispatch ID to txt

Change-Id: I7852a98b9b7be0098b45f5a433f6cbba0617eb05
这个提交包含在:
Giovanni LB 编写, Giovanni Baraldi 于 2023-04-20 23:47:26 -04:00 提交
1 父节点 fd2376fe90
当前提交 c1afcb95e7
1 个文件已更改
+2 -1
+2 -1
查看文件
@@ -96,9 +96,10 @@ class att_plugin_t {
bIncrementVersion = att_file_exists(outpath + fss + "_kernel.txt");
}
auto dispatch_id = att_tracer_record->header.id.handle;
std::string fname =
outpath + name_demangled + "_v" + std::to_string(file_iteration) + "_kernel.txt";
std::ofstream(fname.c_str()) << name_demangled << ": " << kernel_name_c << '\n';
std::ofstream(fname.c_str()) << name_demangled << " [" << dispatch_id << "]: " << kernel_name_c << '\n';
// iterate over each shader engine att trace
for (int i = 0; i < se_num; i++) {