Files
compute-runtime/shared/source/dll/create_memory_manager_drm.cpp
Mateusz Jablonski 19b8a03d30 Move some files from opencl/source/dll to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-22 19:59:55 +02:00

19 lines
464 B
C++

/*
* Copyright (C) 2019-2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "shared/source/os_interface/linux/drm_memory_manager.h"
namespace NEO {
std::unique_ptr<MemoryManager> MemoryManager::createMemoryManager(ExecutionEnvironment &executionEnvironment, DriverModelType driverModel) {
return DrmMemoryManager::create(executionEnvironment);
}
size_t getSizeToReserve() {
return (maxNBitValue(47) + 1) / 4;
}
} // namespace NEO