feature: add option to store walker command content in cpu memory

Related-To: NEO-10066

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2024-04-16 22:23:53 +00:00
committed by Compute-Runtime-Automation
parent 9ca2091725
commit 7c16278bee
10 changed files with 44 additions and 8 deletions

View File

@@ -200,6 +200,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(K
dsh, // dynamicStateHeap
reinterpret_cast<const void *>(&threadGroupDimensions), // threadGroupDimensions
nullptr, // outWalkerPtr
nullptr, // cpuWalkerBuffer
&additionalCommands, // additionalCommands
commandListPreemptionMode, // preemptionMode
launchParams.requiredPartitionDim, // requiredPartitionDim

View File

@@ -327,6 +327,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(K
dsh, // dynamicStateHeap
reinterpret_cast<const void *>(&threadGroupDimensions), // threadGroupDimensions
nullptr, // outWalkerPtr
nullptr, // cpuWalkerBuffer
&additionalCommands, // additionalCommands
kernelPreemptionMode, // preemptionMode
launchParams.requiredPartitionDim, // requiredPartitionDim

View File

@@ -195,6 +195,7 @@ HWTEST2_F(CommandListAppendLaunchKernel, givenNotEnoughSpaceInCommandStreamWhenA
nullptr, // dynamicStateHeap
threadGroupDimensions, // threadGroupDimensions
nullptr, // outWalkerPtr
nullptr, // cpuWalkerBuffer
nullptr, // additionalCommands
PreemptionMode::MidBatch, // preemptionMode
NEO::RequiredPartitionDim::none, // requiredPartitionDim

View File

@@ -692,6 +692,7 @@ HWTEST2_F(CommandListAppendLaunchKernel, givenNotEnoughSpaceInCommandStreamWhenA
nullptr, // dynamicStateHeap
threadGroupDimensions, // threadGroupDimensions
nullptr, // outWalkerPtr
nullptr, // cpuWalkerBuffer
nullptr, // additionalCommands
PreemptionMode::MidBatch, // preemptionMode
NEO::RequiredPartitionDim::none, // requiredPartitionDim