Add implicit scaling barrier implementation

Related-To: NEO-6262

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2021-10-29 10:12:13 +00:00
committed by Compute-Runtime-Automation
parent 95610188af
commit b2124f43b8
6 changed files with 555 additions and 4 deletions

View File

@ -26,6 +26,7 @@ struct WalkerPartitionArgs {
bool initializeWparidRegister = false;
bool emitPipeControlStall = false;
bool preferredStaticPartitioning = false;
bool dcFlush = false;
};
constexpr uint32_t wparidCCSOffset = 0x221C;
@ -54,4 +55,10 @@ struct StaticPartitioningControlSection {
uint32_t finalSyncTileCounter = 0;
};
constexpr size_t staticPartitioningFieldsForCleanupCount = sizeof(StaticPartitioningControlSection) / sizeof(uint32_t) - 1;
struct BarrierControlSection {
uint32_t crossTileSyncCount = 0u;
uint32_t finalSyncTileCount = 0;
};
constexpr size_t barrierControlSectionFieldsForCleanupCount = sizeof(BarrierControlSection) / sizeof(uint32_t) - 1;
} // namespace WalkerPartition