mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
performance: adjust compression handling
Related-To: NEO-11882 Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4f0e71195e
commit
3dd051c3ee
@@ -197,6 +197,8 @@ class GfxCoreHelper {
|
||||
virtual uint32_t getMaxPtssIndex(const ProductHelper &productHelper) const = 0;
|
||||
virtual uint32_t getDefaultSshSize(const ProductHelper &productHelper) const = 0;
|
||||
|
||||
virtual bool usmCompressionSupported(const NEO::HardwareInfo &hwInfo) const = 0;
|
||||
|
||||
virtual ~GfxCoreHelper() = default;
|
||||
|
||||
protected:
|
||||
@@ -431,6 +433,8 @@ class GfxCoreHelperHw : public GfxCoreHelper {
|
||||
uint32_t getMaxPtssIndex(const ProductHelper &productHelper) const override;
|
||||
uint32_t getDefaultSshSize(const ProductHelper &productHelper) const override;
|
||||
|
||||
bool usmCompressionSupported(const NEO::HardwareInfo &hwInfo) const override;
|
||||
|
||||
~GfxCoreHelperHw() override = default;
|
||||
|
||||
protected:
|
||||
|
||||
@@ -809,4 +809,9 @@ template <typename GfxFamily>
|
||||
void MemorySynchronizationCommands<GfxFamily>::encodeAdditionalTimestampOffsets(LinearStream &commandStream, uint64_t contextAddress, uint64_t globalAddress) {
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
bool GfxCoreHelperHw<GfxFamily>::usmCompressionSupported(const NEO::HardwareInfo &hwInfo) const {
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user