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"]; "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)"]; "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.PyProcCompiler(proc_group, compile_config=None)
Bases:
SubCompiler
- compile(channel_map)
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
]