mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Pass TimestampPacket to dispatchWalker during enqueue call
Change-Id: Ia2b9206d4c2bb69232bfe9e7d68d195f3a558926
This commit is contained in:
committed by
sys_ocldev
parent
1d7d376262
commit
c014c49102
@@ -241,8 +241,10 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
|
||||
}
|
||||
}
|
||||
|
||||
TimestampPacket *timestampPacket = nullptr;
|
||||
if (DebugManager.flags.EnableTimestampPacket.get()) {
|
||||
obtainNewTimestampPacketNode();
|
||||
timestampPacket = timestampPacketNode->tag;
|
||||
}
|
||||
|
||||
if (eventBuilder.getEvent()) {
|
||||
@@ -279,7 +281,7 @@ void CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
|
||||
&blockedCommandsData,
|
||||
hwTimeStamps,
|
||||
hwPerfCounter,
|
||||
nullptr,
|
||||
timestampPacket,
|
||||
preemption,
|
||||
blockQueue,
|
||||
commandType);
|
||||
|
||||
Reference in New Issue
Block a user