Fix allocating graphics memory for patterns in appendMemoryFill

Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
This commit is contained in:
Kacper Nowak
2021-08-16 15:31:09 +00:00
committed by Compute-Runtime-Automation
parent 9ff91defba
commit abbe98be07
16 changed files with 190 additions and 62 deletions

View File

@@ -133,6 +133,8 @@ struct Device : _ze_device_handle_t {
virtual ze_result_t getCsrForOrdinalAndIndex(NEO::CommandStreamReceiver **csr, uint32_t ordinal, uint32_t index) = 0;
virtual ze_result_t getCsrForLowPriority(NEO::CommandStreamReceiver **csr) = 0;
virtual ze_result_t mapOrdinalForAvailableEngineGroup(uint32_t *ordinal) = 0;
virtual NEO::GraphicsAllocation *obtainReusableAllocation(size_t requiredSize, NEO::GraphicsAllocation::AllocationType type) = 0;
virtual void storeReusableAllocation(NEO::GraphicsAllocation &alloc) = 0;
};
} // namespace L0