mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: Removing stream
Related-To: NEO-14718 Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9831931722
commit
e43ec2bbfd
@@ -28,16 +28,6 @@ struct MockAubFileStreamMockMmioWrite : public AubMemDump::AubFileStream {
|
||||
void writeMMIOImpl(uint32_t offset, uint32_t value) override {
|
||||
mmioList.push_back(std::make_pair(offset, value));
|
||||
}
|
||||
bool isOnMmioList(const MMIOPair &mmio) {
|
||||
bool mmioFound = false;
|
||||
for (auto &mmioPair : mmioList) {
|
||||
if (mmioPair.first == mmio.first && mmioPair.second == mmio.second) {
|
||||
mmioFound = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return mmioFound;
|
||||
}
|
||||
|
||||
std::vector<std::pair<uint32_t, uint32_t>> mmioList;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user