performance: improve pool handling

Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
Resolves: NEO-11731
This commit is contained in:
Mrozek, Michal
2024-06-13 14:23:07 +00:00
committed by Compute-Runtime-Automation
parent aa3b13ce66
commit 5f0b9efd2b
8 changed files with 22 additions and 10 deletions

View File

@@ -89,7 +89,7 @@ TEST_F(AllocUsmHostDisabledMemoryTest, givenDriverHandleWhenCallingAllocHostMemT
EXPECT_EQ(ZE_RESULT_SUCCESS, result);
}
using AllocUsmHostEnabledMemoryTest = AllocUsmPoolMemoryTest<1, -1>;
using AllocUsmHostEnabledMemoryTest = AllocUsmPoolMemoryTest<16, -1>;
TEST_F(AllocUsmHostEnabledMemoryTest, givenDriverHandleWhenCallingAllocHostMemWithVariousParametersThenUsePoolIfAllowed) {
auto mockHostMemAllocPool = reinterpret_cast<MockUsmMemAllocPool *>(&driverHandle->usmHostMemAllocPool);