mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Check supportsMediaBlock capability in ocloc
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
ed9290e650
commit
86f63bb2ed
@@ -132,7 +132,6 @@ class HwHelper {
|
||||
virtual bool packedFormatsSupported() const = 0;
|
||||
virtual bool isCooperativeDispatchSupported(const EngineGroupType engineGroupType, const PRODUCT_FAMILY productFamily) const = 0;
|
||||
virtual size_t getMaxFillPaternSizeForCopyEngine() const = 0;
|
||||
virtual bool isMediaBlockIOSupported(const HardwareInfo &hwInfo) const = 0;
|
||||
virtual bool isCopyOnlyEngineType(EngineGroupType type) const = 0;
|
||||
virtual void adjustAddressWidthForCanonize(uint32_t &addressWidth) const = 0;
|
||||
virtual bool isSipWANeeded(const HardwareInfo &hwInfo) const = 0;
|
||||
@@ -341,8 +340,6 @@ class HwHelperHw : public HwHelper {
|
||||
|
||||
size_t getMaxFillPaternSizeForCopyEngine() const override;
|
||||
|
||||
bool isMediaBlockIOSupported(const HardwareInfo &hwInfo) const override;
|
||||
|
||||
bool isKmdMigrationSupported(const HardwareInfo &hwInfo) const override;
|
||||
|
||||
bool isNewResidencyModelSupported() const override;
|
||||
|
||||
@@ -549,11 +549,6 @@ bool HwHelperHw<GfxFamily>::isCooperativeDispatchSupported(const EngineGroupType
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool HwHelperHw<GfxFamily>::isMediaBlockIOSupported(const HardwareInfo &hwInfo) const {
|
||||
return hwInfo.capabilityTable.supportsImages;
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool HwHelperHw<GfxFamily>::isKmdMigrationSupported(const HardwareInfo &hwInfo) const {
|
||||
return false;
|
||||
|
||||
@@ -64,6 +64,7 @@ struct RuntimeCapabilityTable {
|
||||
bool hostPtrTrackingEnabled;
|
||||
bool levelZeroSupported;
|
||||
bool isIntegratedDevice;
|
||||
bool supportsMediaBlock;
|
||||
};
|
||||
|
||||
struct HardwareCapabilities {
|
||||
|
||||
Reference in New Issue
Block a user