mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
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:
committed by
Compute-Runtime-Automation
parent
21b20578b4
commit
7d1b59f008
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user