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

Victor Perez llvmlistbot at llvm.org
Wed Aug 7 00:55:58 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:

> Maybe WorkgroupAllocationAttr or WorkgroupArrayAttr are an option?

I missed this comment. I'd still say the current name better represents what's going on.

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


More information about the Mlir-commits mailing list