@@ -171,19 +171,20 @@ void GpgpuWalkerHelper<GfxFamily>::setupTimestampPacket(
171171 LinearStream *cmdStream,
172172 WALKER_TYPE<GfxFamily> *walkerCmd,
173173 TagNode<TimestampPacketStorage> *timestampPacketNode,
174- TimestampPacketStorage::WriteOperationType writeOperationType) {
174+ TimestampPacketStorage::WriteOperationType writeOperationType,
175+ const HardwareInfo &hwInfo) {
175176
176177 if (TimestampPacketStorage::WriteOperationType::AfterWalker == writeOperationType) {
177178 uint64_t address = timestampPacketNode->getGpuAddress () + offsetof (TimestampPacketStorage, packets[0 ].contextEnd );
178179 PipeControlHelper<GfxFamily>::obtainPipeControlAndProgramPostSyncOperation (*cmdStream,
179- PIPE_CONTROL::POST_SYNC_OPERATION_WRITE_IMMEDIATE_DATA, address, 0 , false );
180+ PIPE_CONTROL::POST_SYNC_OPERATION_WRITE_IMMEDIATE_DATA, address, 0 , false , hwInfo );
180181 }
181182}
182183
183184template <typename GfxFamily>
184185size_t EnqueueOperation<GfxFamily>::getSizeRequiredCSKernel(bool reserveProfilingCmdsSpace, bool reservePerfCounters, CommandQueue &commandQueue, const Kernel *pKernel) {
185186 size_t size = sizeof (typename GfxFamily::GPGPU_WALKER) + HardwareCommandsHelper<GfxFamily>::getSizeRequiredCS (pKernel) +
186- sizeof (PIPE_CONTROL) * (HardwareCommandsHelper<GfxFamily>::isPipeControlWArequired () ? 2 : 1 );
187+ sizeof (PIPE_CONTROL) * (HardwareCommandsHelper<GfxFamily>::isPipeControlWArequired (pKernel-> getDevice (). getHardwareInfo () ) ? 2 : 1 );
187188 size += HardwareCommandsHelper<GfxFamily>::getSizeRequiredForCacheFlush (commandQueue, pKernel, 0U );
188189 size += PreemptionHelper::getPreemptionWaCsSize<GfxFamily>(commandQueue.getDevice ());
189190 if (reserveProfilingCmdsSpace) {
0 commit comments