mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
feature: adding flag to block dispatch implicit scaling commands
- this feature is part of making compute walker command view - compute walker is programed for implicit scaling but not dispatched - together with new flag, comes the refactor to reduce number of arguments Related-To: NEO-11972 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2b71ffa7ce
commit
b33fe6ccf1
@@ -720,7 +720,20 @@ HWTEST2_F(CommandEncoderTests, whenAskingForImplicitScalingValuesThenAlwaysRetur
|
||||
EXPECT_EQ(0u, ImplicitScalingDispatch<FamilyType>::template getSize<WalkerType>(false, false, deviceBitField, vec3, vec3));
|
||||
|
||||
void *ptr = nullptr;
|
||||
ImplicitScalingDispatch<FamilyType>::dispatchCommands(linearStream, walkerCmd, &ptr, deviceBitField, RequiredPartitionDim::x, partitionCount, false, false, false, false, 0, *defaultHwInfo);
|
||||
|
||||
ImplicitScalingDispatchCommandArgs args{
|
||||
0, // workPartitionAllocationGpuVa
|
||||
defaultHwInfo.get(), // hwInfo
|
||||
&ptr, // outWalkerPtr
|
||||
RequiredPartitionDim::x, // requiredPartitionDim
|
||||
partitionCount, // partitionCount
|
||||
false, // useSecondaryBatchBuffer
|
||||
false, // apiSelfCleanup
|
||||
false, // dcFlush
|
||||
false, // forceExecutionOnSingleTile
|
||||
false}; // blockDispatchToCommandBuffer
|
||||
|
||||
ImplicitScalingDispatch<FamilyType>::dispatchCommands(linearStream, walkerCmd, deviceBitField, args);
|
||||
EXPECT_EQ(0u, linearStream.getUsed());
|
||||
|
||||
EXPECT_TRUE(ImplicitScalingDispatch<FamilyType>::getPipeControlStallRequired());
|
||||
|
||||
Reference in New Issue
Block a user