mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 01:48:50 +08:00
Related-To: NEO-2285 Change-Id: I77699b5f540b6ac5b73cf1830712a5591326b766 Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
22 lines
620 B
C++
22 lines
620 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/gmm_helper/gmm_helper.h"
|
|
#include "runtime/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
|