Revert "fix: Remove fence handling when reuse cmd buffer"

This reverts commit f3bbd70a58.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2024-01-27 07:53:40 +01:00
committed by Compute-Runtime-Automation
parent 46fb73026e
commit 63a5b64c7e
4 changed files with 99 additions and 1 deletions

View File

@@ -119,6 +119,8 @@ CommandList *CommandList::create(uint32_t productFamily, Device *device, NEO::En
if (returnValue != ZE_RESULT_SUCCESS) {
commandList->destroy();
commandList = nullptr;
} else {
commandList->getCmdContainer().setHandleFenceCompletionRequired();
}
}