Move sharedSystemMemCapabilities to hwInfo

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6075
This commit is contained in:
Kamil Kopryk
2021-11-17 11:26:26 +00:00
committed by Compute-Runtime-Automation
parent 8130727232
commit 7bbb43a563
29 changed files with 62 additions and 22 deletions

View File

@@ -181,7 +181,7 @@ TEST_F(DeviceGetCapsTest, WhenCreatingDeviceThenCapsArePopulatedCorrectly) {
EXPECT_LE(sharedCaps.maxReadImageArgs * sizeof(cl_mem), sharedCaps.maxParameterSize);
EXPECT_LE(sharedCaps.maxWriteImageArgs * sizeof(cl_mem), sharedCaps.maxParameterSize);
EXPECT_LE(128u * MB, sharedCaps.maxMemAllocSize);
if (!sharedCaps.sharedSystemAllocationsSupport) {
if (!device->areSharedSystemAllocationsAllowed()) {
EXPECT_GE((4 * GB) - (8 * KB), sharedCaps.maxMemAllocSize);
}
EXPECT_LE(65536u, sharedCaps.imageMaxBufferSize);