Return true in Device::isSimulation() when AUB or TBX CSR is selected

- when CSR is set to AUB or TBX (with AubDump) Device should
return true in isSimulation(). This method is used to set flag
m_IsSimulation in deviceQueue which is used by scheduler kernel

Change-Id: Ibdf07d4c940335fb0bb8448071b66d47e9391d71
This commit is contained in:
Hoppe, Mateusz
2018-06-06 10:34:51 +02:00
committed by sys_ocldev
parent a3e97e8cc3
commit a9566e0c05
11 changed files with 98 additions and 1 deletions

View File

@@ -81,6 +81,10 @@ class CommandStreamReceiverHw : public CommandStreamReceiver {
void resetKmdNotifyHelper(KmdNotifyHelper *newHelper);
CommandStreamReceiverType getType() override {
return CommandStreamReceiverType::CSR_HW;
}
protected:
void programPreemption(LinearStream &csr, DispatchFlags &dispatchFlags);
void programL3(LinearStream &csr, DispatchFlags &dispatchFlags, uint32_t &newL3Config);