mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 23:33:20 +08:00
refactor: Remove ioctl helper for context destruction
Related-To: NEO-12952 Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
0941b1ac29
commit
ab1f39f07f
@@ -174,7 +174,7 @@ uint64_t OsContextLinux::getOfflineDumpContextId(uint32_t deviceIndex) const {
|
||||
OsContextLinux::~OsContextLinux() {
|
||||
if (contextInitialized) {
|
||||
for (auto drmContextId : drmContextIds) {
|
||||
drm.getIoctlHelper()->destroyDrmContext(drm, *this, drmContextId);
|
||||
drm.destroyDrmContext(drmContextId);
|
||||
}
|
||||
}
|
||||
drmContextIds.clear();
|
||||
|
||||
Reference in New Issue
Block a user