Xilinx / mlir-air

MIT License
71 stars 26 forks source link

Programming Example `matrix_scalar_add/multi_core_channel` Fix #641

Closed hunhoffe closed 2 weeks ago

hunhoffe commented 2 weeks ago

This PR submits a form of the matrix_scalar_add/multi_core_channel that works. Ideally, I would be able to use the herd size argument to create a 2x2 herd for this example, but since I haven't yet discovered how to do an scf.if or an affine.if based on the herd tx and ty parameters, I instead created 4 1x1 herds using a python loop to automate code generation of each herd.