mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-20 13:11:34 +08:00
Remove mapping on free.
Change-Id: I0ec5783362c9091edf98f893b062faaaad125522 Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
3e4dd67f09
commit
dface02b19
@ -3467,6 +3467,10 @@ cl_int clMemFreeINTEL(
|
||||
return CL_INVALID_VALUE;
|
||||
}
|
||||
|
||||
if (neoContext->getSVMAllocsManager()->getSvmMapOperation(ptr)) {
|
||||
neoContext->getSVMAllocsManager()->removeSvmMapOperation(ptr);
|
||||
}
|
||||
|
||||
return CL_SUCCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user