mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 07:14:10 +08:00
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:
committed by
Compute-Runtime-Automation
parent
ed1506e208
commit
5bee8ebd35
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user