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 @@ -309,6 +309,17 @@ def WorkshareOp : OpenMP_Op<"workshare", clauses = [
309
309
let hasVerifier = 1;
310
310
}
311
311
312
+ def WorkshareLoopWrapperOp : OpenMP_Op<"workshare_loop_wrapper", traits = [
313
+ DeclareOpInterfaceMethods<LoopWrapperInterface>,
314
+ RecursiveMemoryEffects, SingleBlock
315
+ ], singleRegion = true> {
316
+ let summary = "contains loop nests to be parallelized by workshare";
317
+
318
+ let builders = [
319
+ OpBuilder<(ins), [{ build($_builder, $_state, {}); }]>
320
+ ];
321
+ }
322
+
312
323
//===----------------------------------------------------------------------===//
313
324
// Loop Nest
314
325
//===----------------------------------------------------------------------===//
You can’t perform that action at this time.
0 commit comments