feature: zexEventGetDeviceAddress support

Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2024-01-11 12:51:31 +00:00
committed by Compute-Runtime-Automation
parent 21bc398340
commit 6abce2b29d
3 changed files with 80 additions and 2 deletions

View File

@@ -447,7 +447,8 @@ void Event::updateInOrderExecState(std::shared_ptr<NEO::InOrderExecInfo> &newInO
}
uint64_t Event::getInOrderExecSignalValueWithSubmissionCounter() const {
return (inOrderExecSignalValue + NEO::InOrderPatchCommandHelpers::getAppendCounterValue(*inOrderExecInfo));
uint64_t appendCounter = inOrderExecInfo.get() ? NEO::InOrderPatchCommandHelpers::getAppendCounterValue(*inOrderExecInfo) : 0;
return (inOrderExecSignalValue + appendCounter);
}
void Event::setLatestUsedCmdQueue(CommandQueue *newCmdQ) {