2019-10-22 11:44:06 +02:00
|
|
|
/*
|
|
|
|
|
* Copyright (C) 2019 Intel Corporation
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
2019-11-15 09:59:48 +01:00
|
|
|
#include "runtime/helpers/options.h"
|
|
|
|
|
|
|
|
|
|
#include <cstdint>
|
2019-11-05 13:38:20 +01:00
|
|
|
#include <memory>
|
2019-11-15 09:59:48 +01:00
|
|
|
#include <string>
|
2019-10-22 11:44:06 +02:00
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
2019-10-24 13:34:25 +02:00
|
|
|
class AubCenter;
|
2019-11-15 09:59:48 +01:00
|
|
|
class ExecutionEnvironment;
|
2019-10-24 13:34:25 +02:00
|
|
|
|
2019-10-22 11:44:06 +02:00
|
|
|
struct RootDeviceEnvironment {
|
2019-11-15 09:59:48 +01:00
|
|
|
RootDeviceEnvironment(ExecutionEnvironment &executionEnvironment);
|
2019-10-24 13:34:25 +02:00
|
|
|
RootDeviceEnvironment(RootDeviceEnvironment &) = delete;
|
2019-11-15 09:59:48 +01:00
|
|
|
MOCKABLE_VIRTUAL ~RootDeviceEnvironment();
|
|
|
|
|
|
|
|
|
|
MOCKABLE_VIRTUAL void initAubCenter(bool localMemoryEnabled, const std::string &aubFileName, CommandStreamReceiverType csrType);
|
|
|
|
|
|
2019-10-24 13:34:25 +02:00
|
|
|
std::unique_ptr<AubCenter> aubCenter;
|
2019-11-15 09:59:48 +01:00
|
|
|
ExecutionEnvironment &executionEnvironment;
|
2019-10-22 11:44:06 +02:00
|
|
|
};
|
|
|
|
|
} // namespace NEO
|