mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:06:32 +08:00
Remove csrsContainer from root device environment
improve mocking: - add method to create RootDevice in Platform - add method to create SubDevice in RootDevice - add method to create CommandStreamReceiver in Device Related-To: NEO-3691 Change-Id: Ie9fe3de260492604333c8ca93796bfbffae518c4 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
4102b9cf3d
commit
5a8f455a84
@@ -12,10 +12,10 @@
|
||||
#include "runtime/os_interface/device_factory.h"
|
||||
|
||||
#include <mutex>
|
||||
#include <vector>
|
||||
|
||||
namespace NEO {
|
||||
class BuiltIns;
|
||||
class CommandStreamReceiver;
|
||||
class CompilerInterface;
|
||||
class GmmHelper;
|
||||
class MemoryManager;
|
||||
@@ -40,8 +40,6 @@ class ExecutionEnvironment : public ReferenceTrackedObject<ExecutionEnvironment>
|
||||
|
||||
MOCKABLE_VIRTUAL void initAubCenter(bool localMemoryEnabled, const std::string &aubFileName, CommandStreamReceiverType csrType);
|
||||
void initGmm();
|
||||
bool initializeCommandStreamReceiver(uint32_t rootDeviceIndex, uint32_t internalDeviceIndex, uint32_t deviceCsrIndex);
|
||||
MOCKABLE_VIRTUAL bool initializeRootCommandStreamReceiver(RootDevice &rootDevice);
|
||||
void initializeMemoryManager();
|
||||
void initSourceLevelDebugger();
|
||||
void setHwInfo(const HardwareInfo *hwInfo);
|
||||
|
||||
Reference in New Issue
Block a user