================================================================================================
| 26 | |
| 27 | // ================================================================================================ |
| 28 | void Heap::AddMemory(amd::Memory* memory, Stream* stream) { |
| 29 | auto mem_size = memory->getSize(); |
| 30 | allocations_.insert({{mem_size, memory}, {stream}}); |
| 31 | total_size_ += mem_size; |
| 32 | max_total_size_ = std::max(max_total_size_, total_size_); |
| 33 | } |
| 34 | |
| 35 | // ================================================================================================ |
| 36 | void Heap::AddMemory(amd::Memory* memory, const MemoryTimestamp& ts) { |
no test coverage detected