mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:
@ -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);
|
||||
|
Reference in New Issue
Block a user