lava.magma.compiler.subcompilers.py
lava.magma.compiler.subcompilers.py.pyproc_compiler
digraph inheritance4ba1358389 { bgcolor=transparent; rankdir=TB; size=""; "ABC" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Helper class that provides a standard way to create an ABC using"]; "AbstractNcProcessModel" [URL="../lava/lava.magma.compiler.subcompilers.py.html#lava.magma.compiler.subcompilers.py.pyproc_compiler.AbstractNcProcessModel",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "AbstractSubCompiler" [URL="../lava.magma.compiler.subcompilers.html#lava.magma.compiler.subcompilers.interfaces.AbstractSubCompiler",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Interface for SubCompilers. Their job is to compile connected groups of"]; "ABC" -> "AbstractSubCompiler" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Offset" [URL="../lava/lava.magma.compiler.subcompilers.py.html#lava.magma.compiler.subcompilers.py.pyproc_compiler.Offset",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "PyProcCompiler" [URL="../lava/lava.magma.compiler.subcompilers.py.html#lava.magma.compiler.subcompilers.py.pyproc_compiler.PyProcCompiler",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "SubCompiler" -> "PyProcCompiler" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SubCompiler" [URL="../lava.magma.compiler.subcompilers.html#lava.magma.compiler.subcompilers.interfaces.SubCompiler",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "AbstractSubCompiler" -> "SubCompiler" [arrowsize=0.5,style="setlinewidth(0.5)"]; }- class lava.magma.compiler.subcompilers.py.pyproc_compiler.AbstractNcProcessModel
Bases:
object
- class lava.magma.compiler.subcompilers.py.pyproc_compiler.Offset
Bases:
object
- static create()
- Return type:
_Offset
- get()
- Return type:
int
-
obj:
Optional
[_Offset
] = None
- update(value)
- class lava.magma.compiler.subcompilers.py.pyproc_compiler.PyProcCompiler(proc_group, compile_config=None)
Bases:
SubCompiler
- compile(channel_map, partitioning=None)
Partitions all Processes in the SubCompiler’s ProcGroup onto the available resources.
- Return type:
- get_builders(channel_map)
After compilation, creates and returns builders for all Processes.
- Return type:
Tuple
[Dict
[AbstractProcess
,AbstractProcessBuilder
],ChannelMap
]