LOLA
|
Symbol of PPU program describing the location and type of a continuous block of memory. More...
#include <ppu.h>
Public Types | |
enum class | Type { object , function , other } |
Symbol type. More... | |
Public Member Functions | |
Symbol () SYMBOL_VISIBLE | |
Default construct a symbol of type 'other' and default coordinate. More... | |
Symbol (Type const &type, halco::hicann_dls::vx::PPUMemoryBlockOnPPU const &coord) SYMBOL_VISIBLE | |
Construct a symbol from a type and a coordinate. More... | |
bool | operator!= (Symbol const &other) const SYMBOL_VISIBLE |
bool | operator== (Symbol const &other) const SYMBOL_VISIBLE |
Public Attributes | |
halco::hicann_dls::vx::PPUMemoryBlockOnPPU | coordinate |
Location of memory block corresponding to symbol. More... | |
Type | type |
Type of symbol. More... | |
Friends | |
std::ostream & | operator<< (std::ostream &os, Symbol const &symbol) SYMBOL_VISIBLE |
Symbol of PPU program describing the location and type of a continuous block of memory.
Symbols can either describe an object, i.e. global data or executable code of a function.
|
strong |
lola::vx::PPUProgram::Symbol::Symbol | ( | ) |
Default construct a symbol of type 'other' and default coordinate.
lola::vx::PPUProgram::Symbol::Symbol | ( | Type const & | type, |
halco::hicann_dls::vx::PPUMemoryBlockOnPPU const & | coord | ||
) |
Construct a symbol from a type and a coordinate.
bool lola::vx::PPUProgram::Symbol::operator!= | ( | Symbol const & | other | ) | const |
bool lola::vx::PPUProgram::Symbol::operator== | ( | Symbol const & | other | ) | const |
|
friend |
halco::hicann_dls::vx::PPUMemoryBlockOnPPU lola::vx::PPUProgram::Symbol::coordinate |