mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
ba003dd7dc
commit
f5fb26d017
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user