mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
Remove OCL Events concept from EnqueueOperation and dispatchWalker
Change-Id: Iec55b0be673a2a40b9621212add224a33d4abc5d
This commit is contained in:
committed by
sys_ocldev
parent
e191c5876e
commit
5e8fb19e5d
@@ -24,8 +24,7 @@ template <typename GfxFamily>
|
||||
void HardwareInterface<GfxFamily>::dispatchWalker(
|
||||
CommandQueue &commandQueue,
|
||||
const MultiDispatchInfo &multiDispatchInfo,
|
||||
cl_uint numEventsInWaitList,
|
||||
const cl_event *eventWaitList,
|
||||
const CsrDependencies &csrDependencies,
|
||||
KernelOperation **blockedCommandsData,
|
||||
TagNode<HwTimeStamps> *hwTimeStamps,
|
||||
HwPerfCounter *hwPerfCounter,
|
||||
@@ -90,16 +89,7 @@ void HardwareInterface<GfxFamily>::dispatchWalker(
|
||||
ssh = &getIndirectHeap<GfxFamily, IndirectHeap::SURFACE_STATE>(commandQueue, multiDispatchInfo);
|
||||
}
|
||||
|
||||
if (commandQueue.getCommandStreamReceiver().peekTimestampPacketWriteEnabled()) {
|
||||
CsrDependencies csrDeps;
|
||||
csrDeps.fillFromEventsRequestAndMakeResident(EventsRequest(numEventsInWaitList, eventWaitList, nullptr),
|
||||
commandQueue.getCommandStreamReceiver(), CsrDependencies::DependenciesType::OnCsr);
|
||||
if (previousTimestampPacketNodes) {
|
||||
csrDeps.push_back(previousTimestampPacketNodes);
|
||||
}
|
||||
|
||||
TimestampPacketHelper::programCsrDependencies<GfxFamily>(*commandStream, csrDeps);
|
||||
}
|
||||
TimestampPacketHelper::programCsrDependencies<GfxFamily>(*commandStream, csrDependencies);
|
||||
|
||||
dsh->align(KernelCommandsHelper<GfxFamily>::alignInterfaceDescriptorData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user