SWDEV-351980 - Store the correlation ID in the dispatch packet
The profiler can retrieve this correlation ID to attribute waves to specific dispatch locations. Change-Id: I700e8a91219d612f6a2028c0dda0c92753f3526a
Этот коммит содержится в:
коммит произвёл
Laurent Morichetti
родитель
b070ba9cc3
Коммит
b043b4f5a2
@@ -3021,6 +3021,12 @@ bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes,
|
||||
addSystemScope_ = false;
|
||||
}
|
||||
|
||||
// If profiling is enabled, store the correlation ID in the dispatch packet. The profiler can
|
||||
// retrieve this correlation ID to attribute waves to specific dispatch locations.
|
||||
if (vcmd != nullptr && vcmd->profilingInfo().enabled_) {
|
||||
dispatchPacket.reserved2 = vcmd->profilingInfo().correlation_id_;
|
||||
}
|
||||
|
||||
// Dispatch the packet
|
||||
if (!dispatchAqlPacket(
|
||||
&dispatchPacket, aqlHeaderWithOrder,
|
||||
|
||||
Ссылка в новой задаче
Block a user