mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 23:24:53 +08:00
Move files to core
- runtime/gmm_helper files - engine_control.h - allocation_properties.h Change-Id: I108888d639c8fdb298eda00fb1e7961b2ccb26cd Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
2bc3ef7d20
commit
51f7ca1601
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2019 Intel Corporation
|
||||
# Copyright (C) 2019-2020 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -15,6 +15,7 @@ set(NEO_CORE_OS_INTERFACE_LINUX
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_library_linux.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_memory_linux.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/os_memory_linux.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/page_table_manager_functions.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/print.cpp
|
||||
)
|
||||
|
||||
|
||||
21
core/os_interface/linux/page_table_manager_functions.cpp
Normal file
21
core/os_interface/linux/page_table_manager_functions.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (C) 2019-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "core/gmm_helper/gmm_helper.h"
|
||||
#include "core/gmm_helper/page_table_mngr.h"
|
||||
#include "runtime/platform/platform.h"
|
||||
|
||||
#include "gmm_client_context.h"
|
||||
|
||||
namespace NEO {
|
||||
GmmPageTableMngr::GmmPageTableMngr(unsigned int translationTableFlags, GMM_TRANSLATIONTABLE_CALLBACKS *translationTableCb) {
|
||||
clientContext = platform()->peekGmmClientContext()->getHandle();
|
||||
pageTableManager = clientContext->CreatePageTblMgrObject(translationTableFlags);
|
||||
}
|
||||
|
||||
void GmmPageTableMngr::setCsrHandle(void *csrHandle) {}
|
||||
} // namespace NEO
|
||||
Reference in New Issue
Block a user