2019-02-19 15:55:11 +08:00
|
|
|
/*
|
2022-07-28 09:30:59 +08:00
|
|
|
* Copyright (C) 2019-2022 Intel Corporation
|
2019-02-19 15:55:11 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/execution_environment/execution_environment.h"
|
|
|
|
#include "shared/source/memory_manager/memory_manager.h"
|
|
|
|
#include "shared/source/os_interface/os_interface.h"
|
|
|
|
#include "shared/source/os_interface/windows/wddm_memory_manager.h"
|
2019-02-19 15:55:11 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2021-05-25 23:37:44 +08:00
|
|
|
std::unique_ptr<MemoryManager> MemoryManager::createMemoryManager(ExecutionEnvironment &executionEnvironment, DriverModelType driverModel) {
|
2019-03-22 00:45:00 +08:00
|
|
|
return std::make_unique<WddmMemoryManager>(executionEnvironment);
|
2019-02-19 15:55:11 +08:00
|
|
|
}
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|