mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Make OsInterface root device specific
Related-To: NEO-3857 Change-Id: Ibcd80c731b5d3755b62e0e03d0ffeedb08b52ca0 Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
066eab2be7
commit
172e75147e
@@ -11,6 +11,7 @@
|
||||
#include "core/memory_manager/memory_operations_handler.h"
|
||||
#include "runtime/aub/aub_center.h"
|
||||
#include "runtime/execution_environment/execution_environment.h"
|
||||
#include "runtime/os_interface/os_interface.h"
|
||||
|
||||
namespace NEO {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2019 Intel Corporation
|
||||
* Copyright (C) 2019-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -18,6 +18,7 @@ class AubCenter;
|
||||
class ExecutionEnvironment;
|
||||
class GmmPageTableMngr;
|
||||
class MemoryOperationsHandler;
|
||||
class OSInterface;
|
||||
|
||||
struct RootDeviceEnvironment {
|
||||
RootDeviceEnvironment(ExecutionEnvironment &executionEnvironment);
|
||||
@@ -26,6 +27,7 @@ struct RootDeviceEnvironment {
|
||||
|
||||
MOCKABLE_VIRTUAL void initAubCenter(bool localMemoryEnabled, const std::string &aubFileName, CommandStreamReceiverType csrType);
|
||||
|
||||
std::unique_ptr<OSInterface> osInterface;
|
||||
std::unique_ptr<GmmPageTableMngr> pageTableManager;
|
||||
std::unique_ptr<MemoryOperationsHandler> memoryOperationsInterface;
|
||||
std::unique_ptr<AubCenter> aubCenter;
|
||||
|
||||
Reference in New Issue
Block a user