mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: Create GMM in DrmMemoryManager::createAllocWithAlignment
Resolves: NEO-9739 Related-To: NEO-9543 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5664b764f0
commit
add394722c
@@ -2206,6 +2206,9 @@ DrmAllocation *DrmMemoryManager::createAllocWithAlignment(const AllocationData &
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto gmm = makeGmmIfSingleHandle(allocationData, alignedSize);
|
||||
allocation->setDefaultGmm(gmm.release());
|
||||
|
||||
bo.release();
|
||||
allocation->isShareableHostMemory = true;
|
||||
allocation->storageInfo = allocationData.storageInfo;
|
||||
|
||||
Reference in New Issue
Block a user