Adding Kernel Names instead Kernel Execution
Change-Id: I102a8e741eeee18d240a62ff33e9b94e8f57d5ff
This commit is contained in:
committed by
Gopesh Bhardwaj
parent
d4c2546336
commit
7e8348b017
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user