Just coming back to this thread, I believe there's a way to introduce the hooks 
in a less intrusive way to the `LowerTEPass`, by placing it just above it in 
`build_module.cc`. This should mean each Target can register a `relay_to_tir` 
`Pass` which is ran there rather than having to wire it via `LowerTEPass` and 
any `PrimFunc` will be skipped as they're not relay functions anymore.

I've updated the RFC PR to reflect this: 
https://github.com/apache/tvm-rfcs/pull/10

What do you think @jroesch / @areusch ?





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/pre-rfc-additional-target-hooks/10430/6)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/d75c1db69fa035f867e64ae0dda02290d4fe7581de928c1f668804bd32a86370).

Reply via email to