Revert "fix: set NotLockable flag when resource does not need to be lockable"

This reverts commit c597b03a33.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-05-14 04:18:43 +02:00
committed by Compute-Runtime-Automation
parent 29c4a12b75
commit 57851a5d29
16 changed files with 15 additions and 70 deletions

View File

@@ -67,8 +67,6 @@ TEST(AllocateGlobalSurfaceTest, GivenSvmAllocsManagerWhenGlobalsAreNotExportedTh
}
TEST(AllocateGlobalSurfaceTest, GivenSvmAllocsManagerWhenGlobalsAreExportedThenMemoryIsAllocatedAsUsmDeviceAllocation) {
DebugManagerStateRestore restorer;
DebugManager.flags.ForceLocalMemoryAccessMode.set(0);
MockDevice device{};
REQUIRE_SVM_OR_SKIP(&device);
device.injectMemoryManager(new MockMemoryManager());