Prepare tests to enable signaling of all event packets

Related-To: NEO-7490

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2022-11-16 18:21:26 +00:00
committed by Compute-Runtime-Automation
parent ba003dd7dc
commit f5fb26d017
12 changed files with 155 additions and 189 deletions

View File

@@ -180,11 +180,7 @@ ze_result_t EventImp<TagSizeT>::queryStatusEventPackets() {
template <typename TagSizeT>
ze_result_t EventImp<TagSizeT>::queryStatus() {
if (metricStreamer != nullptr) {
TagSizeT *hostAddr = static_cast<TagSizeT *>(hostAddress);
if (usingContextEndOffset) {
hostAddr = ptrOffset(hostAddr, this->getContextEndOffset());
}
*hostAddr = metricStreamer->getNotificationState();
hostEventSetValue(metricStreamer->getNotificationState());
}
this->csr->downloadAllocations();
this->csr->downloadAllocation(*eventPool->getAllocation().getGraphicsAllocation(device->getNEODevice()->getRootDeviceIndex()));