Poplar and PopLibs
poplar::Preallocations Class Reference

This class describes where external variables and other pre-existing allocations are in memory. More...

#include <Preallocations.hpp>

Public Member Functions

void addAllocation (unsigned tile, std::size_t address, std::size_t size)
 Add a pre-existing allocation. More...
 
void addAllocation (unsigned tile, std::size_t address, std::size_t size, StringRef name)
 Add a pre-existing allocation that is linked to an external variable in the graph.
 

Detailed Description

This class describes where external variables and other pre-existing allocations are in memory.

Member Function Documentation

◆ addAllocation()

void poplar::Preallocations::addAllocation ( unsigned  tile,
std::size_t  address,
std::size_t  size 
)

Add a pre-existing allocation.

This memory range will be avoided when allocating variables.


The documentation for this class was generated from the following file: