Revert "performance(ocl): set pool allocator threshold 1MB"

This reverts commit fc1d93af8e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2023-12-09 06:32:36 +01:00
committed by Compute-Runtime-Automation
parent 7b08ae3c39
commit a2994e9b29
5 changed files with 12 additions and 13 deletions

View File

@@ -541,7 +541,6 @@ Buffer *Context::BufferPool::allocate(const MemoryProperties &memoryProperties,
return nullptr;
}
bufferRegion.origin -= BufferPool::startingOffset;
DEBUG_BREAK_IF(bufferRegion.origin >= BufferPool::aggregatedSmallBuffersPoolSize);
bufferRegion.size = requestedSize;
auto bufferFromPool = this->mainStorage->createSubBuffer(flags, flagsIntel, &bufferRegion, errcodeRet);
bufferFromPool->createFunction = this->mainStorage->createFunction;