mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
Move sharedSystemMemCapabilities to hwInfo
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-6075
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
8130727232
commit
7bbb43a563
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user