Revert "refactor: split CpuInaccessible MemoryPool types to Device and System"

This reverts commit 2e8cf5fdf5.

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2023-10-17 09:26:50 +00:00
committed by Compute-Runtime-Automation
parent c68f7c8fe2
commit af7bcbf99c
29 changed files with 79 additions and 395 deletions

View File

@@ -388,7 +388,7 @@ TEST(MemObj, givenNonCpuAccessibleMemoryWhenAskingForMappingOnCpuThenDisallow) {
1, allocation->getUnderlyingBuffer(), nullptr, GraphicsAllocationHelper::toMultiGraphicsAllocation(allocation), false, false, false);
EXPECT_TRUE(memObj.mappingOnCpuAllowed());
reinterpret_cast<MemoryAllocation *>(allocation)->overrideMemoryPool(MemoryPool::LocalCpuInaccessible);
reinterpret_cast<MemoryAllocation *>(allocation)->overrideMemoryPool(MemoryPool::SystemCpuInaccessible);
EXPECT_FALSE(memObj.mappingOnCpuAllowed());
}