mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 06:23:01 +08:00
feature(sysman): Support events for multiple devices
Related-To: LOCI-3683 Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9acba4ea2a
commit
2282f26734
@@ -7,6 +7,8 @@
|
||||
|
||||
#include "level_zero/core/source/driver/driver_handle_imp.h"
|
||||
#include "level_zero/sysman/source/sysman_driver_handle_imp.h"
|
||||
#include "level_zero/tools/source/sysman/os_sysman_driver.h"
|
||||
#include "level_zero/tools/source/sysman/sysman.h"
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
@@ -22,6 +24,10 @@ BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved) {
|
||||
delete Sysman::GlobalSysmanDriver;
|
||||
Sysman::GlobalSysmanDriver = nullptr;
|
||||
}
|
||||
if (GlobalOsSysmanDriver != nullptr) {
|
||||
delete GlobalOsSysmanDriver;
|
||||
GlobalOsSysmanDriver = nullptr;
|
||||
}
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user