mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 13:33:02 +08:00
refactor: add heaplessModeEnabled argument to isHeaplessStateInitEnabled
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
22e94c3a8c
commit
cfc3b6a8c2
@@ -77,7 +77,7 @@ class CompilerProductHelper {
|
||||
virtual StackVec<OclCVersion, 5> getDeviceOpenCLCVersions(const HardwareInfo &hwInfo, OclCVersion max) const = 0;
|
||||
virtual void adjustHwInfoForIgc(HardwareInfo &hwInfo) const = 0;
|
||||
virtual bool isHeaplessModeEnabled() const = 0;
|
||||
virtual bool isHeaplessStateInitEnabled() const = 0;
|
||||
virtual bool isHeaplessStateInitEnabled(bool heaplessModeEnabled) const = 0;
|
||||
virtual void getKernelFp16AtomicCapabilities(const ReleaseHelper *releaseHelper, uint32_t &fp16Caps) const = 0;
|
||||
virtual void getKernelFp32AtomicCapabilities(uint32_t &fp32Caps) const = 0;
|
||||
virtual void getKernelFp64AtomicCapabilities(uint32_t &fp64Caps) const = 0;
|
||||
@@ -124,7 +124,7 @@ class CompilerProductHelperHw : public CompilerProductHelper {
|
||||
StackVec<OclCVersion, 5> getDeviceOpenCLCVersions(const HardwareInfo &hwInfo, OclCVersion max) const override;
|
||||
void adjustHwInfoForIgc(HardwareInfo &hwInfo) const override;
|
||||
bool isHeaplessModeEnabled() const override;
|
||||
bool isHeaplessStateInitEnabled() const override;
|
||||
bool isHeaplessStateInitEnabled(bool heaplessModeEnabled) const override;
|
||||
void getKernelFp16AtomicCapabilities(const ReleaseHelper *releaseHelper, uint32_t &fp16Caps) const override;
|
||||
void getKernelFp32AtomicCapabilities(uint32_t &fp32Caps) const override;
|
||||
void getKernelFp64AtomicCapabilities(uint32_t &fp64Caps) const override;
|
||||
|
||||
@@ -234,7 +234,7 @@ bool CompilerProductHelperHw<gfxProduct>::isHeaplessModeEnabled() const {
|
||||
}
|
||||
|
||||
template <PRODUCT_FAMILY gfxProduct>
|
||||
bool CompilerProductHelperHw<gfxProduct>::isHeaplessStateInitEnabled() const {
|
||||
bool CompilerProductHelperHw<gfxProduct>::isHeaplessStateInitEnabled([[maybe_unused]] bool heaplessModeEnabled) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user