MLIR Summit OpenMP Roundtable discussion (Summary)

For OpenMP 5.2 this would be sufficient. However, future OpenMP standards will include an apply clause that will allow applying directives into the middle of a generated loop. E.g.

#pragma omp tile sizes(4) apply(intratile:unroll)
for (int i = 0; i < 64; ++i) ; 

which is equivalent to

#pragma omp 
for (int i1 = 0; i1 < 64; i1+=4) 
  #pragma omp unroll
  for (int i = i1; i < i1+4; ++i) ; 
1 Like