Revert "Allow cpu buffers copy on DG2 in 32bit"

This reverts commit 2055daf696.

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
Maciej Plewka
2022-06-07 16:04:33 +00:00
committed by Compute-Runtime-Automation
parent ed1506e208
commit 5bee8ebd35
10 changed files with 16 additions and 115 deletions

View File

@@ -68,9 +68,7 @@ TEST(Buffer, whenBufferAllocatedInLocalMemoryThenCpuCopyIsDisallowed) {
MockBuffer buffer(allocation);
UltDeviceFactory factory{1, 0};
auto &device = *factory.rootDevices[0];
auto gmm = std::make_unique<MockGmm>(device.getGmmHelper());
allocation.setGmm(gmm.get(), 0);
allocation.getDefaultGmm()->resourceParams.Flags.Info.NotLockable = 1;
allocation.memoryPool = MemoryPool::LocalMemory;
EXPECT_FALSE(buffer.isReadWriteOnCpuAllowed(device));