◆ __init__()
iron.program.Program.__init__ |
( |
|
self, |
|
|
Device |
device, |
|
|
Runtime |
rt |
|
) |
| |
A Program represents all design information needed to run the design on a device.
ctx.module.operation.verify() is called within this function to verify the correctness
of the MLIR module.
Args:
device (Device): The device used to generate the final MLIR for the design.
rt (Runtime): The runtime object for the design.
◆ _print_verify()
iron.program.Program._print_verify |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
|
protected |
◆ resolve_program()
iron.program.Program.resolve_program |
( |
|
self, |
|
|
Placer | None |
placer = None |
|
) |
| |
This method resolves the program components in order to generate MLIR.
Args:
placer (Placer | None, optional): The placer that will assign placement to unplaced components.
If a placer is not given, all components must be fully placed. Defaults to None.
Returns:
module (Module): The module containing the MLIR context information.
◆ _device
iron.program.Program._device |
|
protected |
◆ _rt
The documentation for this class was generated from the following file: