mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Revert "feature: bind resources as read only"
This reverts commit f3d36d3350.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
295b58a11f
commit
8e44a46983
@@ -143,10 +143,6 @@ GraphicsAllocation *MockMemoryManager::allocateGraphicsMemory64kb(const Allocati
|
||||
}
|
||||
|
||||
GraphicsAllocation *MockMemoryManager::allocateGraphicsMemoryInDevicePool(const AllocationData &allocationData, AllocationStatus &status) {
|
||||
if (returnMockGAFromDevicePool) {
|
||||
status = AllocationStatus::Success;
|
||||
return mockGa;
|
||||
}
|
||||
if (failInDevicePool) {
|
||||
status = AllocationStatus::RetryInNonDevicePool;
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user