mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 01:35:20 +08:00
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:
committed by
Compute-Runtime-Automation
parent
0b6b0e3954
commit
a1c5fa1a13
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user