mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
Move builtins and compiler interface to RootDeviceEnvironment
Resolves: NEO-4355 Change-Id: Id1a3365673165d775a60a7e0a3f463e1b8f5a496 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ab3ae5fea7
commit
7cf57e04f9
@@ -10,10 +10,13 @@
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
|
||||
namespace NEO {
|
||||
|
||||
class BuiltIns;
|
||||
class CompilerInterface;
|
||||
class AubCenter;
|
||||
class GmmClientContext;
|
||||
class GmmHelper;
|
||||
@@ -35,12 +38,20 @@ struct RootDeviceEnvironment {
|
||||
void initGmm();
|
||||
GmmHelper *getGmmHelper() const;
|
||||
GmmClientContext *getGmmClientContext() const;
|
||||
MOCKABLE_VIRTUAL CompilerInterface *getCompilerInterface();
|
||||
BuiltIns *getBuiltIns();
|
||||
|
||||
std::unique_ptr<GmmHelper> gmmHelper;
|
||||
std::unique_ptr<OSInterface> osInterface;
|
||||
std::unique_ptr<GmmPageTableMngr> pageTableManager;
|
||||
std::unique_ptr<MemoryOperationsHandler> memoryOperationsInterface;
|
||||
std::unique_ptr<AubCenter> aubCenter;
|
||||
|
||||
std::unique_ptr<BuiltIns> builtins;
|
||||
std::unique_ptr<CompilerInterface> compilerInterface;
|
||||
ExecutionEnvironment &executionEnvironment;
|
||||
|
||||
private:
|
||||
std::mutex mtx;
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user