For my current use case (RoCC accelerators), yes. Actually I do not even need
a full-scale barrier between the cores: just an `__asm__ volatile("fence");`
would be sufficient. Like I've expressed in the previous reply, I'm wondering
if there can actually be use cases for the `prologue` part, as it was just so
tempting to add that for symmetry with `epilogue`. Otherwise, I do think
something like `barrier` should be better. We might need to look into the
semantics though, as `barrier` has its very meaning to enforce memory
consistency between cores, but `epilogue` can accept arbitrary `void(void)`
functions.
---
[Visit
Topic](https://discuss.tvm.ai/t/add-support-for-extern-prologue-epilogue-functions/6041/9)
to respond.
You are receiving this because you enabled mailing list mode.
To unsubscribe from these emails, [click
here](https://discuss.tvm.ai/email/unsubscribe/a012ed7989e1e5e65a5c79019b7f45be909f2ac47947051daa1c2a9a5bcc1ff5).