Download timestamps before checking completion

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2021-12-27 10:43:20 +00:00
committed by Compute-Runtime-Automation
parent 25403cf85d
commit b59b0b6b36
6 changed files with 18 additions and 9 deletions

View File

@@ -165,6 +165,10 @@ class UltCommandStreamReceiver : public CommandStreamReceiverHw<GfxFamily>, publ
downloadAllocationCalled = true;
}
void downloadAllocation(GraphicsAllocation &gfxAllocation) override {
downloadAllocationCalled = true;
}
bool waitForCompletionWithTimeout(bool enableTimeout, int64_t timeoutMicroseconds, uint32_t taskCountToWait) override {
latestWaitForCompletionWithTimeoutTaskCount.store(taskCountToWait);
waitForCompletionWithTimeoutTaskCountCalled++;