Skip to content

Commit 7488d79

Browse files
Add expectNotEqualMemory to AUB fixture.
Change-Id: Ibb7d59124915ed56b9eb2d9b5b25faa497312060
1 parent ad7765f commit 7488d79

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

unit_tests/aub_tests/fixtures/aub_fixture.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ class AUBFixture : public CommandQueueHwFixture {
7171
aubCsr->expectMemoryEqual(gfxAddress, srcAddress, length);
7272
}
7373

74+
template <typename FamilyType>
75+
void expectNotEqualMemory(void *gfxAddress, const void *srcAddress, size_t length) {
76+
auto aubCsr = getAubCsr<FamilyType>();
77+
aubCsr->expectMemoryNotEqual(gfxAddress, srcAddress, length);
78+
}
79+
7480
static void *getGpuPointer(GraphicsAllocation *allocation) {
7581
return reinterpret_cast<void *>(allocation->getGpuAddress());
7682
}

0 commit comments

Comments
 (0)