[Mlir-commits] [mlir] [mlir][ROCDL] Add synchronization primitives (#1077) (PR #80888)

Krzysztof Drewniak llvmlistbot at llvm.org
Tue Feb 6 11:00:12 PST 2024


================
@@ -192,6 +192,18 @@ def ROCDL_BarrierOp : ROCDL_Op<"barrier"> {
   let assemblyFormat = "attr-dict";
 }
 
+def ROCDL_SetPrioOp : ROCDL_IntrOp<"s.setprio", [], [], [], 0>,
+  Arguments<(ins I16:$priority)> {
----------------
krzysz00 wrote:

... Yeah, same observation here as below. LLVM says this has to be a constant, might as well make at an attribute on this side.

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


More information about the Mlir-commits mailing list