Add improvements to heap estimation in level zero command lists

- add estimation parameter for interface descriptor data count
- add to the heap estimation alignment parameter for dynamic and surface heaps
- extend encode interface and implementations to allow child heaps

Related-To: NEO-5055

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2023-02-02 18:57:24 +00:00
committed by Compute-Runtime-Automation
parent 5a833e2c08
commit 7e0401d280
18 changed files with 154 additions and 66 deletions

View File

@@ -187,6 +187,7 @@ class CommandStreamReceiver {
IndirectHeap &getIndirectHeap(IndirectHeapType heapType, size_t minRequiredSize);
void allocateHeapMemory(IndirectHeapType heapType, size_t minRequiredSize, IndirectHeap *&indirectHeap);
void releaseIndirectHeap(IndirectHeapType heapType);
void *getIndirectHeapCurrentPtr(IndirectHeapType heapType) const;
virtual enum CommandStreamReceiverType getType() const = 0;
void setExperimentalCmdBuffer(std::unique_ptr<ExperimentalCommandBuffer> &&cmdBuffer);