mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Add localMemorySupported member to MemoryManager
- extend constructor to take new flag - extend ExecutionEnvironment createMemoryManager with new flag - only OsAgnosticMemoryManager changes in this step Change-Id: I1dae4fd79fe28fd87e42b237600dc216c94b597e
This commit is contained in:
committed by
sys_ocldev
parent
05b93ef221
commit
cfa8035836
@@ -129,7 +129,7 @@ bool Device::createDeviceImpl(const HardwareInfo *pHwInfo, Device &outDevice) {
|
||||
if (!executionEnvironment->initializeCommandStreamReceiver(pHwInfo)) {
|
||||
return false;
|
||||
}
|
||||
executionEnvironment->initializeMemoryManager(outDevice.getEnabled64kbPages());
|
||||
executionEnvironment->initializeMemoryManager(outDevice.getEnabled64kbPages(), outDevice.getHardwareCapabilities().localMemorySupported);
|
||||
|
||||
outDevice.osContext = new OsContext(executionEnvironment->osInterface.get());
|
||||
executionEnvironment->memoryManager->registerOsContext(outDevice.osContext);
|
||||
|
||||
Reference in New Issue
Block a user