performance(ocl): enable usm pool allocator

Enable opencl usm pool allocator by default

Related-To: NEO-9700

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2023-12-28 11:53:06 +00:00
committed by Compute-Runtime-Automation
parent aec6b2b46a
commit 7bc8424a69
6 changed files with 22 additions and 16 deletions

View File

@@ -495,7 +495,7 @@ void Context::initializeUsmAllocationPools() {
return;
}
bool enabled = false;
bool enabled = true;
size_t poolSize = 2 * MemoryConstants::megaByte;
if (debugManager.flags.EnableDeviceUsmAllocationPool.get() != -1) {
enabled = debugManager.flags.EnableDeviceUsmAllocationPool.get() > 0;
@@ -511,7 +511,7 @@ void Context::initializeUsmAllocationPools() {
usmDeviceMemAllocPool.initialize(svmMemoryManager, memoryProperties, poolSize);
}
enabled = false;
enabled = true;
poolSize = 2 * MemoryConstants::megaByte;
if (debugManager.flags.EnableHostUsmAllocationPool.get() != -1) {
enabled = debugManager.flags.EnableHostUsmAllocationPool.get() > 0;