[Mlir-commits] [mlir] [mlir][gpu] Add metadata attributes for storing kernel metadata in GPU objects (PR #95292)

Mehdi Amini llvmlistbot at llvm.org
Tue Aug 27 12:44:02 PDT 2024


================
@@ -116,7 +116,7 @@ TargetAttrImpl::createObject(Attribute attribute, Operation *module,
       module->getContext(), attribute, gpu::CompilationTarget::Offload,
       StringAttr::get(module->getContext(),
                       StringRef(object.data(), object.size())),
-      module->getAttrDictionary());
+      module->getAttrDictionary(), nullptr);
----------------
joker-eph wrote:

```suggestion
      module->getAttrDictionary(), /*kernels=*/nullptr);
```

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


More information about the Mlir-commits mailing list