Pass drm to MemoryInfo ctor

Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-07-25 11:50:32 +00:00
committed by Compute-Runtime-Automation
parent 8afcc87dc5
commit b49e2237c5
22 changed files with 152 additions and 136 deletions

View File

@ -27,7 +27,7 @@ struct BuffersWithClMemCacheClosTests : public DrmMemoryManagerLocalMemoryPrelim
void SetUp() override {
DrmMemoryManagerLocalMemoryPrelimTest::SetUp();
auto memoryInfo = new MockExtendedMemoryInfo();
auto memoryInfo = new MockExtendedMemoryInfo(*mock);
mock->memoryInfo.reset(memoryInfo);
mock->cacheInfo.reset(new MockCacheInfo(*mock, 1024, 2, 32));