feature: add pooling of USM global/constant surface

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
This commit is contained in:
Fabian Zwoliński
2025-09-19 14:53:48 +00:00
committed by Compute-Runtime-Automation
parent 0b6b0e3954
commit a1c5fa1a13
15 changed files with 635 additions and 42 deletions

View File

@@ -188,6 +188,8 @@ class Program : public BaseObject<_cl_program> {
return isSpirV;
}
void freeGlobalBufferAllocation(const std::unique_ptr<NEO::SharedPoolAllocation> &buffer);
NEO::SharedPoolAllocation *getConstantSurface(uint32_t rootDeviceIndex) const;
NEO::GraphicsAllocation *getConstantSurfaceGA(uint32_t rootDeviceIndex) const;
NEO::SharedPoolAllocation *getGlobalSurface(uint32_t rootDeviceIndex) const;