[7/n] Internal 4GB allocator

- rename getBase to getCpuBase
- change some test names accordingly.

Change-Id: I6fb2e4714298250147ea7766a916d7f5d62edc54
This commit is contained in:
Mrozek, Michal
2018-03-05 11:03:38 +01:00
committed by sys_ocldev
parent cfe1f72dcb
commit 1602fa5a88
44 changed files with 209 additions and 209 deletions

View File

@@ -566,7 +566,7 @@ TEST_P(CommandQueueIndirectHeapTest, GivenCommandQueueWithHeapAllocatedWhenIndir
EXPECT_EQ(nullptr, cmdQ.indirectHeap[this->GetParam()]->getGraphicsAllocation());
EXPECT_EQ(nullptr, indirectHeap.getBase());
EXPECT_EQ(nullptr, indirectHeap.getCpuBase());
EXPECT_EQ(0u, indirectHeap.getMaxAvailableSpace());
}
@@ -779,7 +779,7 @@ TEST(CommandQueueGetIndirectHeap, whenNewInstructionHeapIsBeingCreatedThenComman
EXPECT_EQ(alignedPatternSize, heap.getUsed());
ASSERT_LE(sizeof(sipPattern), heap.getMaxAvailableSpace());
char *reservedBlock = reinterpret_cast<char *>(heap.getBase());
char *reservedBlock = reinterpret_cast<char *>(heap.getCpuBase());
auto dataFoundInReservedBlock = ArrayRef<char>(reservedBlock, sizeof(sipPattern));
auto expectedData = ArrayRef<char>(csr->instructionHeapReserveredData);
EXPECT_THAT(dataFoundInReservedBlock, testing::ContainerEq(expectedData));