mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
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:

committed by
sys_ocldev

parent
a3e97e8cc3
commit
a9566e0c05
@ -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;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user