mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 07:00:17 +08:00
Related-To: NEO-3857 Change-Id: Ic23077cad080a249457cec39462ca7407e75b227 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
34 lines
789 B
C++
34 lines
789 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/utilities/reference_tracked_object.h"
|
|
|
|
#include <vector>
|
|
|
|
namespace NEO {
|
|
class MemoryManager;
|
|
class Debugger;
|
|
struct RootDeviceEnvironment;
|
|
|
|
class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment> {
|
|
|
|
public:
|
|
ExecutionEnvironment();
|
|
~ExecutionEnvironment() override;
|
|
|
|
void initializeMemoryManager();
|
|
void initDebugger();
|
|
void calculateMaxOsContextCount();
|
|
void prepareRootDeviceEnvironments(uint32_t numRootDevices);
|
|
|
|
std::unique_ptr<MemoryManager> memoryManager;
|
|
std::vector<std::unique_ptr<RootDeviceEnvironment>> rootDeviceEnvironments;
|
|
std::unique_ptr<Debugger> debugger;
|
|
};
|
|
} // namespace NEO
|