calyxir/calyx

Relay: Link with Dahlia-compiled kernels

Closed this issue · 1 comments

Per this Slack thread, a good route to compiling larger-scale Relay programs will be to invoke kernels pre-written in Dahlia. For the tensor-add example from #184, for example, we could write a for-based add kernel in Dahlia and compile it to FuTIL. Then the Relay-to-FuTIL compiler would instantiate this component to implement the add instruction from Relay.

This has been addressed: #272 .