mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Register Allocations
Related-To: NEO-4964 Change-Id: I792dd7f7d6d594f51701ec7a40b2c0d36531b02b Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
98c9e3f6ca
commit
eb287d87d7
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user