[7/n] L0 immediate commandlist improvements

Enable flushTask only for specific families for now

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
This commit is contained in:
Aravind Gopalakrishnan
2022-02-15 17:21:09 +00:00
committed by Compute-Runtime-Automation
parent 3944bf8ad5
commit 74cdd60255
12 changed files with 50 additions and 14 deletions

View File

@@ -157,6 +157,7 @@ class HwHelper {
virtual bool isLinuxCompletionFenceSupported() const = 0;
virtual size_t getBatchBufferEndSize() const = 0;
virtual const void *getBatchBufferEndReference() const = 0;
virtual bool isPlatformFlushTaskEnabled() const = 0;
protected:
HwHelper() = default;
@@ -395,6 +396,7 @@ class HwHelperHw : public HwHelper {
bool isLinuxCompletionFenceSupported() const override;
size_t getBatchBufferEndSize() const override;
const void *getBatchBufferEndReference() const override;
bool isPlatformFlushTaskEnabled() const override;
protected:
static const AuxTranslationMode defaultAuxTranslationMode;

View File

@@ -718,4 +718,8 @@ template <typename GfxFamily>
const void *HwHelperHw<GfxFamily>::getBatchBufferEndReference() const {
return reinterpret_cast<const void *>(&GfxFamily::cmdInitBatchBufferEnd);
}
template <typename GfxFamily>
bool HwHelperHw<GfxFamily>::isPlatformFlushTaskEnabled() const {
return false;
}
} // namespace NEO