Adding Kernel Names instead Kernel Execution

Change-Id: I102a8e741eeee18d240a62ff33e9b94e8f57d5ff
Этот коммит содержится в:
Ammar ELWazir
2023-10-25 13:51:58 +00:00
коммит произвёл Gopesh Bhardwaj
родитель d4c2546336
Коммит 7e8348b017
2 изменённых файлов: 8 добавлений и 2 удалений
+5 -2
Просмотреть файл
@@ -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;
}