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:
Mateusz Jablonski
2019-11-05 13:38:20 +01:00
committed by sys_ocldev
parent 4102b9cf3d
commit 5a8f455a84
51 changed files with 253 additions and 351 deletions

View File

@@ -8,7 +8,6 @@
#include "core/execution_environment/root_device_environment.h"
#include "runtime/aub/aub_center.h"
#include "runtime/command_stream/command_stream_receiver.h"
namespace NEO {

View File

@@ -6,7 +6,7 @@
*/
#pragma once
#include "core/helpers/common_types.h"
#include <memory>
namespace NEO {
@@ -18,6 +18,5 @@ struct RootDeviceEnvironment {
RootDeviceEnvironment(RootDeviceEnvironment &&);
~RootDeviceEnvironment();
std::unique_ptr<AubCenter> aubCenter;
CsrContainer commandStreamReceivers;
};
} // namespace NEO