mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 20:13:04 +08:00
(Sysman):Changes made in engine API.
Replacing normal pointers by smart pointers in engine module of L0 sysman. Related-To: LOCI-2810 Signed-off-by: Singh, Prasoon <prasoon.singh@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b161af5886
commit
49827b7122
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -30,11 +30,6 @@ EngineImp::EngineImp(OsSysman *pOsSysman, zes_engine_group_t engineType, uint32_
|
||||
init();
|
||||
}
|
||||
|
||||
EngineImp::~EngineImp() {
|
||||
if (nullptr != pOsEngine) {
|
||||
delete pOsEngine;
|
||||
pOsEngine = nullptr;
|
||||
}
|
||||
}
|
||||
EngineImp::~EngineImp() = default;
|
||||
|
||||
} // namespace L0
|
||||
|
||||
Reference in New Issue
Block a user