Increase max parameter size to 2048

Change-Id: I2284445b18543d397bc5f33a010b37551b07d87a
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4851
This commit is contained in:
Kamil Kopryk
2020-07-20 13:20:26 +02:00
parent ecf7c2b5c4
commit ee23d7465f
2 changed files with 8 additions and 1 deletions

View File

@ -1254,6 +1254,13 @@ TEST_F(DeviceGetCapsTest, GivenFlagEnabled64kbPagesWhenSetThenReturnCorrectValue
EXPECT_TRUE(memoryManager->peek64kbPagesEnabled(0u));
}
TEST_F(DeviceGetCapsTest, whenDeviceIsCreatedThenMaxParameterSizeIsSetCorrectly) {
auto device = std::make_unique<MockClDevice>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(defaultHwInfo.get()));
const auto &caps = device->getSharedDeviceInfo();
EXPECT_EQ(2048u, caps.maxParameterSize);
}
TEST_F(DeviceGetCapsTest, givenUnifiedMemoryShardeSystemFlagWhenDeviceIsCreatedItContainsProperSystemMemorySetting) {
DebugManagerStateRestore restorer;
DebugManager.flags.EnableSharedSystemUsmSupport.set(0u);