[Mlir-commits] [mlir] [MLIR][GPU-LLVM] Convert `gpu.func` to `llvm.func` (PR #101664)

Victor Perez llvmlistbot at llvm.org
Wed Aug 7 00:50:29 PDT 2024


================
@@ -1104,4 +1104,23 @@ def TailCallKindAttr : LLVM_Attr<"TailCallKind", "tailcallkind"> {
   let assemblyFormat = "`<` $tailCallKind `>`";
 }
 
+//===----------------------------------------------------------------------===//
+// WorkgroupAttribAttr
+//===----------------------------------------------------------------------===//
+
+def WorkgroupAttribAttr
+    : LLVM_Attr<"WorkgroupAttrib", "mlir.workgroup_attrib"> {
+  let summary = "GPU workgroup attribution information";
+  let description = [{
----------------
victor-eds wrote:

That's the name given [in the GPU dialect](https://mlir.llvm.org/docs/Dialects/GPU/#memory-attribution) and, as this attribute's only purpose is to encode that, I went with that name.

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


More information about the Mlir-commits mailing list