mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Sysman: Enabling events for Windows
Enabling events for Sysman in Windows Os Specific path HAL.
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a18f2aa3ae
commit
a116d454fe
@@ -45,7 +45,7 @@ ze_result_t DriverHandleImp::sysmanEventsListen(
|
||||
auto timeToExitLoop = std::chrono::steady_clock::now() + std::chrono::milliseconds(timeout);
|
||||
do {
|
||||
for (uint32_t devIndex = 0; devIndex < count; devIndex++) {
|
||||
gotSysmanEvent = L0::SysmanDevice::fromHandle(phDevices[devIndex])->deviceEventListen(pEvents[devIndex]);
|
||||
gotSysmanEvent = L0::SysmanDevice::fromHandle(phDevices[devIndex])->deviceEventListen(pEvents[devIndex], timeout);
|
||||
if (gotSysmanEvent) {
|
||||
*pNumDeviceEvents = 1;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user