mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-14 02:32:59 +08:00
refactor: usm reuse to unique ptr
Change usm allocation cache in usm manager to unique ptr Related-To: NEO-6893 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
110359c6dc
commit
2170f5ca88
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2024 Intel Corporation
|
||||
* Copyright (C) 2018-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -355,7 +355,7 @@ TEST_F(KernelArgBufferTest, givenKernelExecInfoWithIndirectStatelessAccessWhenHa
|
||||
return;
|
||||
}
|
||||
pContext->getHostMemAllocPool().cleanup();
|
||||
svmAllocationsManager->trimUSMHostAllocCache();
|
||||
svmAllocationsManager->cleanupUSMAllocCaches();
|
||||
|
||||
mockKernel.unifiedMemoryControls.indirectHostAllocationsAllowed = true;
|
||||
EXPECT_FALSE(mockKernel.hasIndirectStatelessAccessToHostMemory());
|
||||
|
||||
Reference in New Issue
Block a user