File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
mlir/include/mlir/Dialect/OpenMP Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,17 @@ def WorkshareOp : OpenMP_Op<"workshare", clauses = [
308
308
let hasVerifier = 1;
309
309
}
310
310
311
+ def WorkshareLoopWrapperOp : OpenMP_Op<"workshare_loop_wrapper", traits = [
312
+ DeclareOpInterfaceMethods<LoopWrapperInterface>,
313
+ RecursiveMemoryEffects, SingleBlock
314
+ ], singleRegion = true> {
315
+ let summary = "contains loop nests to be parallelized by workshare";
316
+
317
+ let builders = [
318
+ OpBuilder<(ins), [{ build($_builder, $_state, {}); }]>
319
+ ];
320
+ }
321
+
311
322
//===----------------------------------------------------------------------===//
312
323
// Loop Nest
313
324
//===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments