mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Related-To: NEO-2285 Change-Id: I77699b5f540b6ac5b73cf1830712a5591326b766 Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
33 lines
790 B
C++
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
|