Extendable Types
SANode
Mapper2.SA.SANode — Type.API
Mapper2.SA.location — Function.location(node::SANode{T}) :: TReturn the location of node. Must be parameterized by T.
Mapper2.SA.assign — Function.assign(node::SANode{T}, location::T)Set the location of node to location.
Mapper2.SA.getclass — Function.getclass(node)Return the class of node.
Mapper2.SA.setclass! — Function.setclass!(node, class::Integer)Set the class of node to class.
Implementations
Mapper2.SA.BasicNode — Type.mutable struct BasicNode{T} <: Mapper2.SA.SANodeFields
locationLocation this node is assigned in the architecture. Must be parametric.
classThe class of this node.
outchannelsAdjacency list of outgoing channels.
inchannelsAdjacency list of incoming channels.
Documentation
The standard implementation of SANode.
Method List
BasicNode(location, class, outchannels, inchannels)defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Place/SA/Struct.jl:206.
SAChannel
Mapper2.SA.SAChannel — Type.abstract type SAChannelFields
Documentation
SAStruct representation of a TaskgraphEdge. Comes in two varieties: TwoChannel and MultiChannel
Method List
Mapper2.SA.TwoChannel — Type.abstract type TwoChannel <: Mapper2.SA.SAChannelFields
Documentation
Abstract supertype for channels with only one source and sink.
Required Fields
source::Int64sink::Int64
Implementations
Method List
Mapper2.SA.MultiChannel — Type.abstract type MultiChannel <: Mapper2.SA.SAChannelFields
Documentation
Abstract supertype for channels with multiple sources/sinks.
Required Fields
sources::Vector{Int}sinks::Vector{Int}
Implementations
Method List
Implementations
Mapper2.SA.BasicChannel — Type.struct BasicChannel <: Mapper2.SA.TwoChannelFields
sourcesink
Documentation
Basic Implementation of TwoChannel
Method List
BasicChannel(source, sink)
BasicChannel(source, sink)defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Place/SA/Struct.jl:246.
Mapper2.SA.BasicMultiChannel — Type.struct BasicMultiChannel <: Mapper2.SA.MultiChannelFields
sourcessinks
Documentation
Basic Implementation of MultiChannel
Method List
BasicMultiChannel(sources, sinks)
BasicMultiChannel(sources, sinks)defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Place/SA/Struct.jl:252.
AddressData
Mapper2.SA.AddressData — Type.abstract type AddressDataFields
Documentation
Supertype for containers of data for address specific placement. There is no API for this type since the specific needs of address data vary between applications. If a custom type is used, extend [address_cost] to get the desired behavior.
Implementations
Method List
Mapper2.SA.EmptyAddressData — Type.struct EmptyAddressData <: Mapper2.SA.AddressDataFields
Documentation
Null representation of AddressData. Used when there is no address data to be used during placement.
Method List
EmptyAddressData()defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Place/SA/Struct.jl:113.
Mapper2.SA.DefaultAddressData — Type.struct DefaultAddressData{U, T} <: Mapper2.SA.AddressDataFields
dict
Documentation
Default implementation of address data when it is to be used. In its normal state, it is just a wrapper for a Dict mapping addresses to a cost. Look at the implementation of address_cost to see how this is used. This function may be exteneded on node to provide different behavior.
To use this type, the method address_data must be defined to encode the values for the dict.
Method List
DefaultAddressData(dict)defined at /home/travis/build/hildebrandmw/Mapper2.jl/src/Place/SA/Struct.jl:126.
Methods for custom extension
Mapper2.SA.address_data — Function.address_data(ruleset::RuleSet, component::Component) :: T where TReturn some token representing address specific data for component under ruleset.