mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Mark buffers as not resident after exec
Change-Id: I6406c626bfaadf01149a8464db2bb4278cbdcbce
This commit is contained in:
@ -839,6 +839,8 @@ TEST_F(DrmCommandStreamGemWorkerTests, givenTaskThatRequiresLargeResourceCountWh
|
||||
EXPECT_EQ(11u, this->mock->execBuffer.buffer_count);
|
||||
mm->freeGraphicsMemory(commandBuffer);
|
||||
for (auto graphicsAllocation : graphicsAllocations) {
|
||||
DrmAllocation *drmAlloc = reinterpret_cast<DrmAllocation *>(graphicsAllocation);
|
||||
EXPECT_FALSE(drmAlloc->getBO()->peekIsResident());
|
||||
mm->freeGraphicsMemory(graphicsAllocation);
|
||||
}
|
||||
EXPECT_EQ(11u, execStorage.size());
|
||||
|
Reference in New Issue
Block a user