mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-06 19:32:25 +08:00
Add sip kernel as hexadecimal array header
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com> Related-To: NEO-5777
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c051495eb8
commit
a203cd2863
@@ -156,6 +156,10 @@ class HwHelper {
|
||||
static uint32_t getSubDevicesCount(const HardwareInfo *pHwInfo);
|
||||
static uint32_t getCopyEnginesCount(const HardwareInfo &hwInfo);
|
||||
|
||||
virtual bool isSipKernelAsHexadecimalArrayPreferred() const = 0;
|
||||
virtual void setSipKernelData(uint32_t *&sipKernelBinary, size_t &kernelBinarySize) const = 0;
|
||||
virtual void adjustPreemptionSurfaceSize(size_t &csrSize) const = 0;
|
||||
|
||||
protected:
|
||||
virtual LocalMemoryAccessMode getDefaultLocalMemoryAccessMode(const HardwareInfo &hwInfo) const = 0;
|
||||
|
||||
@@ -386,6 +390,12 @@ class HwHelperHw : public HwHelper {
|
||||
|
||||
bool isEngineTypeRemappingToHwSpecificRequired() const override;
|
||||
|
||||
bool isSipKernelAsHexadecimalArrayPreferred() const override;
|
||||
|
||||
void setSipKernelData(uint32_t *&sipKernelBinary, size_t &kernelBinarySize) const override;
|
||||
|
||||
void adjustPreemptionSurfaceSize(size_t &csrSize) const override;
|
||||
|
||||
protected:
|
||||
LocalMemoryAccessMode getDefaultLocalMemoryAccessMode(const HardwareInfo &hwInfo) const override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user