Verify completion on all tiles

Related-To: NEO-6244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2021-10-12 22:08:25 +00:00
committed by Compute-Runtime-Automation
parent 439b8c51d9
commit 24ff191e61
9 changed files with 117 additions and 17 deletions

View File

@@ -181,10 +181,9 @@ volatile uint32_t *CommandQueue::getHwTagAddress() const {
}
bool CommandQueue::isCompleted(uint32_t gpgpuTaskCount, CopyEngineState bcsState) const {
uint32_t gpgpuHwTag = getHwTag();
DEBUG_BREAK_IF(gpgpuHwTag == CompletionStamp::notReady);
DEBUG_BREAK_IF(getHwTag() == CompletionStamp::notReady);
if (gpgpuHwTag >= gpgpuTaskCount) {
if (getGpgpuCommandStreamReceiver().testTaskCountReady(getHwTagAddress(), gpgpuTaskCount)) {
if (bcsState.isValid()) {
return *getBcsCommandStreamReceiver(bcsState.engineType)->getTagAddress() >= peekBcsTaskCount(bcsState.engineType);
}