Add reset partition count and all partitions in Fence object

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2021-09-08 22:43:33 +00:00
committed by Compute-Runtime-Automation
parent 9d99ee1636
commit ddf76ef0b2
6 changed files with 109 additions and 12 deletions

View File

@@ -431,8 +431,8 @@ ze_result_t CommandQueueHw<gfxCoreFamily>::executeCommandLists(
NEO::PipeControlArgs args(true);
if (partitionCount > 1) {
args.workloadPartitionOffset = true;
fence->setPartitionCount(partitionCount);
}
fence->setPartitionCount(partitionCount);
NEO::MemorySynchronizationCommands<GfxFamily>::addPipeControlAndProgramPostSyncOperation(
child, POST_SYNC_OPERATION::POST_SYNC_OPERATION_WRITE_IMMEDIATE_DATA,
fence->getGpuAddress(),