mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 09:03:14 +08:00
refactor: move getProductMaxPreferredSlmSize to release helper
Related-To: NEO-7786 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4be9b7e609
commit
944c332371
@@ -28,6 +28,7 @@ class ReleaseHelper {
|
||||
virtual bool isMatrixMultiplyAccumulateSupported() const = 0;
|
||||
virtual bool isPipeControlPriorToNonPipelinedStateCommandsWARequired() const = 0;
|
||||
virtual bool isPrefetchDisablingRequired() const = 0;
|
||||
virtual int getProductMaxPreferredSlmSize(int preferredEnumValue) const = 0;
|
||||
|
||||
protected:
|
||||
ReleaseHelper(HardwareIpVersion hardwareIpVersion) : hardwareIpVersion(hardwareIpVersion) {}
|
||||
@@ -45,6 +46,7 @@ class ReleaseHelperHw : public ReleaseHelper {
|
||||
bool isMatrixMultiplyAccumulateSupported() const override;
|
||||
bool isPipeControlPriorToNonPipelinedStateCommandsWARequired() const override;
|
||||
bool isPrefetchDisablingRequired() const override;
|
||||
int getProductMaxPreferredSlmSize(int preferredEnumValue) const override;
|
||||
|
||||
private:
|
||||
ReleaseHelperHw(HardwareIpVersion hardwareIpVersion) : ReleaseHelper(hardwareIpVersion) {}
|
||||
|
||||
Reference in New Issue
Block a user