PLAT-130888: Added kernel dispatch ID to txt

Change-Id: I7852a98b9b7be0098b45f5a433f6cbba0617eb05
Tá an tiomantas seo le fáil i:
Giovanni LB
2023-04-14 19:17:26 -03:00
tiomanta ag Giovanni Baraldi
tuismitheoir fd2376fe90
tiomantas c1afcb95e7
+2 -1
Féach ar an gComhad
@@ -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++) {