Move SCM related WAs logic from CSR to EncodeComputeMode

This will help with unifying the logic between APIs and GENs.

Related-To: NEO-6728

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2022-03-09 17:15:48 +00:00
committed by Compute-Runtime-Automation
parent 7d6bee26c7
commit 3eab7009ac
37 changed files with 325 additions and 293 deletions

View File

@@ -16,12 +16,12 @@ typedef SKLFamily Family;
static auto gfxCore = IGFX_GEN9_CORE;
template <>
size_t CommandStreamReceiverHw<Family>::getCmdSizeForComputeMode() {
return 0;
void CommandStreamReceiverHw<Family>::programComputeMode(LinearStream &stream, DispatchFlags &dispatchFlags, const HardwareInfo &hwInfo) {
}
template <>
void CommandStreamReceiverHw<Family>::programComputeMode(LinearStream &stream, DispatchFlags &dispatchFlags, const HardwareInfo &hwInfo) {
template <typename GfxFamily>
inline bool CommandStreamReceiverHw<GfxFamily>::isComputeModeNeeded() const {
return false;
}
template <>