mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
Move aub center and command stream receivers to root device environment
resize root device environments to 1 by default Related-To: NEO-3691, NEO-3857 Change-Id: Idf3d61e84f8265f30381c18216632d0ffb2a16de Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
eccb9f044d
commit
d408b82a19
@@ -49,6 +49,7 @@ struct TimestampPacketSimpleTests : public ::testing::Test {
|
||||
struct TimestampPacketTests : public TimestampPacketSimpleTests {
|
||||
void SetUp() override {
|
||||
executionEnvironment = platformImpl->peekExecutionEnvironment();
|
||||
executionEnvironment->rootDeviceEnvironments.resize(2);
|
||||
device = std::unique_ptr<MockDevice>(Device::create<MockDevice>(executionEnvironment, 0u));
|
||||
context = new MockContext(device.get());
|
||||
kernel = std::make_unique<MockKernelWithInternals>(*device, context);
|
||||
|
||||
Reference in New Issue
Block a user