Revert "performance(ocl): enable usm pool allocator"

This reverts commit 7bc8424a69.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-12-29 00:32:39 +01:00
committed by Compute-Runtime-Automation
parent c4278095c8
commit 5535ef3049
6 changed files with 16 additions and 22 deletions

View File

@@ -495,7 +495,7 @@ void Context::initializeUsmAllocationPools() {
return;
}
bool enabled = true;
bool enabled = false;
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 = true;
enabled = false;
poolSize = 2 * MemoryConstants::megaByte;
if (debugManager.flags.EnableHostUsmAllocationPool.get() != -1) {
enabled = debugManager.flags.EnableHostUsmAllocationPool.get() > 0;