mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00

make RootDeviceEnvironments vector of unique_ptr Related-To: NEO-3857 Change-Id: I23998502198307c8535cdd5c9c4af5223a5d69a5 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
31 lines
713 B
C++
31 lines
713 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "runtime/helpers/options.h"
|
|
|
|
#include <cstdint>
|
|
#include <memory>
|
|
#include <string>
|
|
|
|
namespace NEO {
|
|
|
|
class AubCenter;
|
|
class ExecutionEnvironment;
|
|
|
|
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<AubCenter> aubCenter;
|
|
ExecutionEnvironment &executionEnvironment;
|
|
};
|
|
} // namespace NEO
|