mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
[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:
committed by
Compute-Runtime-Automation
parent
3944bf8ad5
commit
74cdd60255
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user