Fix make resident event alloc for marker dispatch

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2021-06-11 13:29:43 +00:00
committed by Compute-Runtime-Automation
parent f34db6a30f
commit 10cff46c22
3 changed files with 38 additions and 15 deletions

View File

@@ -589,6 +589,7 @@ void CommandQueueHw<GfxFamily>::processDispatchForMarker(CommandQueue &commandQu
HardwareInterface<GfxFamily>::dispatchProfilingPerfStartCommands(hwTimeStamps, hwPerfCounter, commandStream, commandQueue);
HardwareInterface<GfxFamily>::dispatchProfilingPerfEndCommands(hwTimeStamps, hwPerfCounter, commandStream, commandQueue);
getGpgpuCommandStreamReceiver().makeResident(*hwTimeStamps->getBaseGraphicsAllocation());
}
template <typename GfxFamily>