mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
Destroy multi graphics allocations synchronously
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d139d307f0
commit
5dd25d9e8c
@@ -79,6 +79,7 @@ MemObj::~MemObj() {
|
||||
peekSharingHandler()->releaseReusedGraphicsAllocation();
|
||||
}
|
||||
|
||||
needWait |= multiGraphicsAllocation.getGraphicsAllocations().size() > 1u;
|
||||
for (auto graphicsAllocation : multiGraphicsAllocation.getGraphicsAllocations()) {
|
||||
auto rootDeviceIndex = graphicsAllocation ? graphicsAllocation->getRootDeviceIndex() : 0;
|
||||
bool doAsyncDestructions = DebugManager.flags.EnableAsyncDestroyAllocations.get();
|
||||
|
||||
Reference in New Issue
Block a user