Adding Kernel Names instead Kernel Execution

Change-Id: I102a8e741eeee18d240a62ff33e9b94e8f57d5ff
Tento commit je obsažen v:
Ammar ELWazir authored and Gopesh Bhardwaj committed 2023-10-26 12:33:01 -04:00
1 rodič d4c2546336
revize 7e8348b017
2 files changed
+8 -2

No files matched your search

+5 -2
Zobrazit soubor
@@ -316,8 +316,11 @@ class file_plugin_t {
output_file = get_output_file(ACTIVITY_DOMAIN_HIP_OPS);
ss << std::dec << begin->begin_ns << ":" << begin->end_ns << " " << begin->device_id
<< ":" << begin->queue_id << " " << name << ":" << begin->correlation_id << ":"
<< GetPid() << "\n";
<< ":" << begin->queue_id << " "
<< ((begin->op == HIP_OP_ID_DISPATCH && begin->kernel_name != nullptr)
? cxx_demangle(begin->kernel_name)
: name)
<< ":" << begin->correlation_id << ":" << GetPid() << "\n";
*output_file << ss.str();
break;
}