Remove debug flag ForceMultiEngineQueue

Change-Id: Iabf38999a03be3422c25c12978808731df77a899
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2019-02-26 17:52:31 +01:00
committed by sys_ocldev
parent fbcdee4cf4
commit 10a25e405a
11 changed files with 69 additions and 19 deletions

View File

@@ -1703,3 +1703,15 @@ TEST(MemoryAllocationTest, givenMemoryPoolWhenPassedToMemoryAllocationConstructo
MemoryAllocation allocation{GraphicsAllocation::AllocationType::COMMAND_BUFFER, nullptr, nullptr, 0, 0, 0, MemoryPool::System64KBPages, false};
EXPECT_EQ(MemoryPool::System64KBPages, allocation.getMemoryPool());
}
TEST_F(MemoryAllocatorTest, whenCommandStreamerIsRegisteredThenReturnAssociatedEngineControl) {
auto engineControl = memoryManager->getRegisteredEngineForCsr(csr);
ASSERT_NE(nullptr, engineControl);
EXPECT_EQ(csr, engineControl->commandStreamReceiver);
}
TEST_F(MemoryAllocatorTest, whenCommandStreamerIsNotRegisteredThenReturnNullEngineControl) {
CommandStreamReceiver *dummyCsr = reinterpret_cast<CommandStreamReceiver *>(0x1);
auto engineControl = memoryManager->getRegisteredEngineForCsr(dummyCsr);
EXPECT_EQ(nullptr, engineControl);
}