[Mlir-commits] [mlir] [OpenMP][MLIR] Add omp.distribute op to the OMP dialect (PR #67720)

Jan Leyonberg llvmlistbot at llvm.org
Tue Nov 7 12:37:43 PST 2023


jsjodin wrote:

> > > I am also wondering if there is additional ops other than omp.canonical_loop, then it may still require some traversal of the code.
> > 
> > 
> > I did not understand this point.
> 
> I misunderstood the restrictions of distribute, so you can ignore this.

I was originally thinking about other regular operations, however considering that there might be transformation ops there could be other ops than just a omp.canonical_loop inside a omp.distribute region.
````
omp.distribute {
   %cli = omp.cli
   canonical_loop ... %cli
   omp.tile(%cli, ... )
}
````
Also with the original proposal for omp.canonical_loop this would be possible.

https://github.com/llvm/llvm-project/pull/67720


More information about the Mlir-commits mailing list