sysman: Avoid creating the IGSC libary handle in ULTs

- Contains the changes to avoid invoking IGSC library
during ULT execution.


Related-To: LOCI-2719
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com>
This commit is contained in:
Pichika Uday Kiran
2021-11-24 09:25:05 +00:00
committed by Compute-Runtime-Automation
parent 3e1023fa1a
commit 7764924387
9 changed files with 52 additions and 37 deletions

View File

@@ -36,9 +36,9 @@ class Diagnostics : _zes_diag_handle_t {
struct DiagnosticsHandleContext {
DiagnosticsHandleContext(OsSysman *pOsSysman) : pOsSysman(pOsSysman){};
void releaseDiagnosticsHandles();
~DiagnosticsHandleContext();
MOCKABLE_VIRTUAL ~DiagnosticsHandleContext();
void init(std::vector<ze_device_handle_t> &deviceHandles);
MOCKABLE_VIRTUAL void init(std::vector<ze_device_handle_t> &deviceHandles);
ze_result_t diagnosticsGet(uint32_t *pCount, zes_diag_handle_t *phDiagnostics);
std::vector<std::string> supportedDiagTests = {};