[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

@@ -145,7 +145,7 @@ LinearStream &CommandStreamReceiver::getCS(size_t minRequiredSize) {
}
//pass current allocation to reusable list
if (commandStream.getBase()) {
if (commandStream.getCpuBase()) {
memoryManager->storeAllocation(std::unique_ptr<GraphicsAllocation>(commandStream.getGraphicsAllocation()), REUSABLE_ALLOCATION);
}
@@ -169,7 +169,7 @@ void CommandStreamReceiver::cleanupResources() {
scratchAllocation = nullptr;
}
if (commandStream.getBase()) {
if (commandStream.getCpuBase()) {
memoryManager->freeGraphicsMemory(commandStream.getGraphicsAllocation());
commandStream.replaceGraphicsAllocation(nullptr);
commandStream.replaceBuffer(nullptr, 0);