SWDEV-301667 - Better log

- Print kernelname for graph launches, its hard to correlate packets
otherwise
- Print correlation_id if any

Change-Id: Ib8db7a00e4e7c98f570e71029e61d86f5dccc2ed
This commit is contained in:
Saleel Kudchadker
2024-05-10 22:07:14 +00:00
committed by Maneesh Gupta
szülő 1ba74c3ce3
commit 72d23a02c5
2 fájl változott, egészen pontosan 7 új sor hozzáadva és 4 régi sor törölve
+1 -1
Fájl megtekintése
@@ -589,8 +589,8 @@ hipError_t GraphExec::Run(hipStream_t stream) {
topoOrder_[i]->GetType() == hipGraphNodeTypeKernel &&
!reinterpret_cast<hip::GraphKernelNode*>(topoOrder_[i])->HasHiddenHeap()) {
if (topoOrder_[i]->GetEnabled()) {
hip_stream->vdev()->dispatchAqlPacket(topoOrder_[i]->GetAqlPacket(), accumulate);
accumulate->addKernelName(topoOrder_[i]->GetKernelName());
hip_stream->vdev()->dispatchAqlPacket(topoOrder_[i]->GetAqlPacket(), accumulate);
}
} else {
topoOrder_[i]->SetStream(hip_stream, this);