mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
Fix typo in variable name
Change-Id: Ic9c4e0af7c886223cfc7dda53aaf49512ecd59f2 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
74a02adabe
commit
6d2e92cf20
@@ -64,14 +64,14 @@ MemObj::~MemObj() {
|
||||
}
|
||||
if (graphicsAllocation && !associatedMemObject && !isHostPtrSVM && graphicsAllocation->peekReuseCount() == 0) {
|
||||
memoryManager->removeAllocationFromHostPtrManager(graphicsAllocation);
|
||||
bool doAsyncDestrucions = DebugManager.flags.EnableAsyncDestroyAllocations.get();
|
||||
if (!doAsyncDestrucions) {
|
||||
bool doAsyncDestructions = DebugManager.flags.EnableAsyncDestroyAllocations.get();
|
||||
if (!doAsyncDestructions) {
|
||||
needWait = true;
|
||||
}
|
||||
if (needWait && graphicsAllocation->isUsed()) {
|
||||
memoryManager->waitForEnginesCompletion(*graphicsAllocation);
|
||||
}
|
||||
destroyGraphicsAllocation(graphicsAllocation, doAsyncDestrucions);
|
||||
destroyGraphicsAllocation(graphicsAllocation, doAsyncDestructions);
|
||||
graphicsAllocation = nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user