Register Allocations

Related-To: NEO-4964

Change-Id: I792dd7f7d6d594f51701ec7a40b2c0d36531b02b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2020-09-17 13:27:32 +02:00
committed by sys_ocldev
parent 98c9e3f6ca
commit eb287d87d7
13 changed files with 113 additions and 23 deletions

View File

@@ -47,12 +47,6 @@ BufferObject::BufferObject(Drm *drm, int handle, size_t size, size_t maxOsContex
}
}
BufferObject::~BufferObject() {
for (auto &i : bindExtHandles) {
drm->unregisterResource(i);
}
};
uint32_t BufferObject::getRefCount() const {
return this->refCount.load();
}