3#ifndef poplar_Preallocations_hpp
4#define poplar_Preallocations_hpp
6#include "poplar/StringRef.hpp"
22 std::unique_ptr<core::Preallocations> impl;
32 void addAllocation(
unsigned tile, std::size_t address, std::size_t size);
35 void addAllocation(
unsigned tile, std::size_t address, std::size_t size,
39 const core::Preallocations &getImpl()
const {
return *impl; }
A device refers to a physical entity that can execute code.
Definition: Device.hpp:26
This class describes where external variables and other pre-existing allocations are in memory.
Definition: Preallocations.hpp:21
void addAllocation(unsigned tile, std::size_t address, std::size_t size)
Add a pre-existing allocation.
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.
A target representation.
Definition: Target.hpp:69
Poplar classes and functions.
Definition: ArrayRef.hpp:14