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

@ -459,6 +459,10 @@ class CommandStreamReceiverMock : public CommandStreamReceiver {
void flushBatchedSubmissions() override {}
CommandStreamReceiverType getType() override {
return CommandStreamReceiverType::CSR_HW;
}
std::map<const void *, size_t> residency;
};