mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 21:18:24 +08:00
Add helper function to enable stateless compression
Related-To: NEO-5107 Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d99f20d400
commit
eb14d8458b
@@ -204,7 +204,7 @@ class CommandStreamReceiver {
|
||||
|
||||
virtual bool isMultiOsContextCapable() const = 0;
|
||||
|
||||
virtual MemoryCompressionState getMemoryCompressionState(bool auxTranslationRequired) const = 0;
|
||||
virtual MemoryCompressionState getMemoryCompressionState(bool auxTranslationRequired, const HardwareInfo &hwInfo) const = 0;
|
||||
|
||||
void setLatestSentTaskCount(uint32_t latestSentTaskCount) {
|
||||
this->latestSentTaskCount = latestSentTaskCount;
|
||||
|
||||
@@ -109,7 +109,7 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
|
||||
|
||||
bool isMultiOsContextCapable() const override;
|
||||
|
||||
MemoryCompressionState getMemoryCompressionState(bool auxTranslationRequired) const override;
|
||||
MemoryCompressionState getMemoryCompressionState(bool auxTranslationRequired, const HardwareInfo &hwInfo) const override;
|
||||
|
||||
bool isDirectSubmissionEnabled() const override {
|
||||
return directSubmission.get() != nullptr;
|
||||
|
||||
@@ -1345,7 +1345,7 @@ inline bool CommandStreamReceiverHw<GfxFamily>::isAdditionalPipeControlNeeded()
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
inline MemoryCompressionState CommandStreamReceiverHw<GfxFamily>::getMemoryCompressionState(bool auxTranslationRequired) const {
|
||||
inline MemoryCompressionState CommandStreamReceiverHw<GfxFamily>::getMemoryCompressionState(bool auxTranslationRequired, const HardwareInfo &hwInfo) const {
|
||||
return MemoryCompressionState::NotApplicable;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user