feature: add option to make compute walker command view

Related-To: NEO-11972

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2024-07-29 22:10:00 +00:00
committed by Compute-Runtime-Automation
parent 21b20578b4
commit 7d1b59f008
8 changed files with 131 additions and 48 deletions

View File

@@ -202,6 +202,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(K
reinterpret_cast<const void *>(&threadGroupDimensions), // threadGroupDimensions
nullptr, // outWalkerPtr
nullptr, // cpuWalkerBuffer
nullptr, // cpuPayloadBuffer
&additionalCommands, // additionalCommands
commandListPreemptionMode, // preemptionMode
launchParams.requiredPartitionDim, // requiredPartitionDim
@@ -225,6 +226,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(K
this->heaplessStateInitEnabled, // isHeaplessStateInitEnabled
false, // interruptEvent
!this->scratchAddressPatchingEnabled, // immediateScratchAddressPatching
false, // makeCommandView
};
NEO::EncodeDispatchKernel<GfxFamily>::encodeCommon(commandContainer, dispatchKernelArgs);

View File

@@ -338,6 +338,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(K
reinterpret_cast<const void *>(&threadGroupDimensions), // threadGroupDimensions
nullptr, // outWalkerPtr
launchParams.cmdWalkerBuffer, // cpuWalkerBuffer
nullptr, // cpuPayloadBuffer
&additionalCommands, // additionalCommands
kernelPreemptionMode, // preemptionMode
launchParams.requiredPartitionDim, // requiredPartitionDim
@@ -361,6 +362,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(K
this->heaplessStateInitEnabled, // isHeaplessStateInitEnabled
interruptEvent, // interruptEvent
!this->scratchAddressPatchingEnabled, // immediateScratchAddressPatching
false, // makeCommandView
};
NEO::EncodeDispatchKernel<GfxFamily>::encodeCommon(commandContainer, dispatchKernelArgs);