Files
compute-runtime/core/execution_environment/root_device_environment.h
Andrzej Swierczynski cc46cdf46c Move PageTableManager to RootDeviceEnvironment
Related-To: NEO-2285
Change-Id: I77699b5f540b6ac5b73cf1830712a5591326b766
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2019-12-19 12:26:45 +01:00

33 lines
790 B
C++

/*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "core/helpers/options.h"
#include <cstdint>
#include <memory>
#include <string>
namespace NEO {
class AubCenter;
class ExecutionEnvironment;
class GmmPageTableMngr;
struct RootDeviceEnvironment {
RootDeviceEnvironment(ExecutionEnvironment &executionEnvironment);
RootDeviceEnvironment(RootDeviceEnvironment &) = delete;
MOCKABLE_VIRTUAL ~RootDeviceEnvironment();
MOCKABLE_VIRTUAL void initAubCenter(bool localMemoryEnabled, const std::string &aubFileName, CommandStreamReceiverType csrType);
std::unique_ptr<GmmPageTableMngr> pageTableManager;
std::unique_ptr<AubCenter> aubCenter;
ExecutionEnvironment &executionEnvironment;
};
} // namespace NEO