@@ -106,8 +106,7 @@ void HardwareInterface<GfxFamily>::dispatchWalker(
106106 mainKernel->areMultipleSubDevicesInContext ());
107107 }
108108
109- auto numSupportedDevices = commandQueue.getGpgpuCommandStreamReceiver ().getOsContext ().getNumSupportedDevices ();
110- TimestampPacketHelper::programCsrDependenciesForTimestampPacketContainer<GfxFamily>(*commandStream, csrDependencies, numSupportedDevices);
109+ TimestampPacketHelper::programCsrDependenciesForTimestampPacketContainer<GfxFamily>(*commandStream, csrDependencies);
111110
112111 dsh->align (EncodeStates<GfxFamily>::alignInterfaceDescriptorData);
113112
@@ -141,15 +140,15 @@ void HardwareInterface<GfxFamily>::dispatchWalker(
141140
142141 size_t currentDispatchIndex = 0 ;
143142 for (auto &dispatchInfo : multiDispatchInfo) {
144- dispatchInfo.dispatchInitCommands (*commandStream, timestampPacketDependencies, commandQueue.getDevice ().getHardwareInfo (), numSupportedDevices );
143+ dispatchInfo.dispatchInitCommands (*commandStream, timestampPacketDependencies, commandQueue.getDevice ().getHardwareInfo ());
145144 bool isMainKernel = (dispatchInfo.getKernel () == mainKernel);
146145
147146 dispatchKernelCommands (commandQueue, dispatchInfo, commandType, *commandStream, isMainKernel,
148147 currentDispatchIndex, currentTimestampPacketNodes, preemptionMode, interfaceDescriptorIndex,
149148 offsetInterfaceDescriptorTable, *dsh, *ioh, *ssh);
150149
151150 currentDispatchIndex++;
152- dispatchInfo.dispatchEpilogueCommands (*commandStream, timestampPacketDependencies, commandQueue.getDevice ().getHardwareInfo (), numSupportedDevices );
151+ dispatchInfo.dispatchEpilogueCommands (*commandStream, timestampPacketDependencies, commandQueue.getDevice ().getHardwareInfo ());
153152 }
154153
155154 if (mainKernel->requiresCacheFlushCommand (commandQueue)) {
0 commit comments