fix(ocl): fix resolve dependencies by pipecontrol

Keep semaphore programming for events on bcs

Related-To: NEO-7321

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2023-02-02 08:34:18 +00:00
committed by Compute-Runtime-Automation
parent 59d79d63b6
commit d13dd79312
7 changed files with 92 additions and 12 deletions

View File

@@ -236,6 +236,14 @@ TaskCountType Event::peekBcsTaskCountFromCommandQueue() {
}
}
bool Event::isBcsEvent() const {
return bcsState.isValid() && bcsState.taskCount > 0;
}
aub_stream::EngineType Event::getBcsEngineType() const {
return bcsState.engineType;
}
TaskCountType Event::getCompletionStamp() const {
return this->taskCount;
}