mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
Use 64KB pages for SVM allocations when 64KB pages are enabled
- clSVMAlloc allocates 64KB pages as memory storage for both fine grain and coarse grain allocation Change-Id: I2068ffb9f5577761f739df47b54bc382e971949c
This commit is contained in:
@@ -69,7 +69,7 @@ void *SVMAllocsManager::createSVMAlloc(size_t size, bool coherent) {
|
||||
return nullptr;
|
||||
|
||||
std::unique_lock<std::mutex> lock(mtx);
|
||||
GraphicsAllocation *GA = memoryManager->allocateGraphicsMemoryForSVM(size, 4096, coherent);
|
||||
GraphicsAllocation *GA = memoryManager->allocateGraphicsMemoryForSVM(size, coherent);
|
||||
if (!GA) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user