mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Remove debug flag ForceMultiEngineQueue
Change-Id: Iabf38999a03be3422c25c12978808731df77a899 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
fbcdee4cf4
commit
10a25e405a
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user