Remove OCL Events concept from command stream receiver

Change-Id: I4d5a97b41efe601c92c2f3f33e9e24bb7d4fa3d2
This commit is contained in:
Venevtsev, Igor
2019-01-25 10:20:32 +01:00
committed by sys_ocldev
parent e8771e8c2a
commit 66e3f3c16c
13 changed files with 300 additions and 86 deletions

View File

@@ -91,13 +91,14 @@ void HardwareInterface<GfxFamily>::dispatchWalker(
}
if (commandQueue.getCommandStreamReceiver().peekTimestampPacketWriteEnabled()) {
GpgpuWalkerHelper<GfxFamily>::dispatchOnCsrWaitlistSemaphores(commandStream, commandQueue.getCommandStreamReceiver(),
numEventsInWaitList, eventWaitList);
CsrDependencies csrDeps;
csrDeps.fillFromEventsRequestAndMakeResident(EventsRequest(numEventsInWaitList, eventWaitList, nullptr),
commandQueue.getCommandStreamReceiver(), CsrDependencies::DependenciesType::OnCsr);
if (previousTimestampPacketNodes) {
for (auto &node : previousTimestampPacketNodes->peekNodes()) {
TimestampPacketHelper::programSemaphoreWithImplicitDependency<GfxFamily>(*commandStream, *node->tag);
}
csrDeps.push_back(previousTimestampPacketNodes);
}
TimestampPacketHelper::programCsrDependencies<GfxFamily>(*commandStream, csrDeps);
}
dsh->align(KernelCommandsHelper<GfxFamily>::alignInterfaceDescriptorData);