The most important contribution of this PR is to add an example of calling an external function in the mlir-air Python bindings. This is implemented in the programming_examples/passthrough/passthrough_kernel example. Small changes to HerdOp were necessary to support this, as well as the addition of some helper functions similar to those in mlir-aie.
The documentation for the passthrough example is mostly taken from mlir-aie. For completeness, I also include examples doing data passthrough with data movement with DMAs and channels.
The most important contribution of this PR is to add an example of calling an external function in the mlir-air Python bindings. This is implemented in the
programming_examples/passthrough/passthrough_kernel
example. Small changes to HerdOp were necessary to support this, as well as the addition of some helper functions similar to those in mlir-aie.The documentation for the passthrough example is mostly taken from mlir-aie. For completeness, I also include examples doing data passthrough with data movement with DMAs and channels.