Dont wait for BCS before enqueue completion

Change-Id: I99fa7834e927049c2faff5dfbf44b3c2a77a1af1
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
Related-To: NEO-3020
This commit is contained in:
Dunajski, Bartosz
2019-07-12 14:48:52 +02:00
committed by sys_ocldev
parent 382bc8547d
commit dda6e29254
4 changed files with 26 additions and 13 deletions

View File

@@ -148,6 +148,11 @@ void CommandQueue::waitUntilComplete(uint32_t taskCountToWait, FlushStamp flushS
getGpgpuCommandStreamReceiver().waitForTaskCountAndCleanAllocationList(taskCountToWait, TEMPORARY_ALLOCATION);
if (auto bcsCsr = getBcsCommandStreamReceiver()) {
auto bcsTaskCount = *bcsCsr->getTagAddress();
bcsCsr->waitForTaskCountAndCleanAllocationList(bcsTaskCount, TEMPORARY_ALLOCATION);
}
WAIT_LEAVE()
}