Store command stream receiver in device.

Change-Id: I133ce4435e189e5bb8473ad4736fe0b02047dffe
This commit is contained in:
Mrozek, Michal
2018-09-11 10:43:50 +02:00
committed by sys_ocldev
parent 2366c41154
commit 1530d7832f
7 changed files with 18 additions and 25 deletions

View File

@@ -494,7 +494,7 @@ void GpgpuWalkerHelper<GfxFamily>::dispatchWalker(
ssh = &getIndirectHeap<GfxFamily, IndirectHeap::SURFACE_STATE>(commandQueue, multiDispatchInfo);
}
if (commandQueue.getDevice().peekCommandStreamReceiver()->peekTimestampPacketWriteEnabled()) {
if (commandQueue.getDevice().getCommandStreamReceiver().peekTimestampPacketWriteEnabled()) {
GpgpuWalkerHelper<GfxFamily>::dispatchOnDeviceWaitlistSemaphores(commandStream, commandQueue.getDevice(),
numEventsInWaitList, eventWaitList);
}