mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:00:01 +08:00
Destroy kernel and module in zello_world_jitc_ocloc
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
18e95c51f5
commit
ed649fae66
@@ -143,8 +143,8 @@ void DrmAllocation::linkWithRegisteredHandle(uint32_t handle) {
|
||||
}
|
||||
|
||||
void DrmAllocation::freeRegisteredBOBindExtHandles(Drm *drm) {
|
||||
for (auto &i : registeredBoBindHandles) {
|
||||
drm->unregisterResource(i);
|
||||
for (auto it = registeredBoBindHandles.rbegin(); it != registeredBoBindHandles.rend(); ++it) {
|
||||
drm->unregisterResource(*it);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user