Pass root device index to Kernel's methods

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-11-24 16:07:54 +00:00
committed by Compute-Runtime-Automation
parent cbde74650a
commit b85a8ace68
24 changed files with 83 additions and 72 deletions

View File

@@ -1355,7 +1355,7 @@ HWTEST_F(PatchTokenTests, givenKernelRequiringConstantAllocationWhenMakeResident
EXPECT_EQ(0u, pCommandStreamReceiver->residency.size());
std::vector<Surface *> surfaces;
pKernel->getResidency(surfaces);
pKernel->getResidency(surfaces, rootDeviceIndex);
EXPECT_EQ(2u, surfaces.size());
for (Surface *surface : surfaces) {