mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Verify completion on all tiles
Related-To: NEO-6244 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
439b8c51d9
commit
24ff191e61
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user