Open mcourteaux opened 7 years ago
It's sorta possible, if you express them as a single update definition with an additional outer dimension to the RDom of extent 2, and then you parallelize over that dimension. Halide will try to prove that the regions are disjoint for you.
I have looked through the available scheduling methods, but I couldn't seem anything that would allow me to define two (or more) update passes in parallel. Syntax like this would be nice:
Of course, I know that the domains that are influenced by these updates are completely disjunct.
Maybe I'm missing something, and this is already possible?