Rename an overload of waitUntilComplete to waitForAllEngines

- Overloaded functions were quite different, they should have different names
- waitForLatestTaskCount function was redundant and hence its body was moved
inside waitForAllEngines

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
Maciej Dziuban
2021-09-22 15:07:20 +00:00
committed by Compute-Runtime-Automation
parent d211864410
commit 6d1e048327
6 changed files with 15 additions and 24 deletions

View File

@@ -169,7 +169,7 @@ HWTEST_F(PrintfHandlerTests, givenPrintfHandlerWhenEnqueueIsBlockedThenDontUsePr
using CommandQueueHw<FamilyType>::CommandQueueHw;
using CommandQueueHw<FamilyType>::enqueueKernel;
void waitUntilComplete(bool blockedQueue, PrintfHandler *printfHandler) override {
void waitForAllEngines(bool blockedQueue, PrintfHandler *printfHandler) override {
waitCalled = true;
printfHandlerUsedForWait = printfHandler;
}