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

Fabian Mora llvmlistbot at llvm.org
Wed Jun 12 17:02:12 PDT 2024


fabianmcg wrote:

> This is basically a blob of random things, most of these may have no relationship to the end result.

You're right, most of them are not useful. However, the function type, the kernel name and the argument attributes are useful. For example, inside the argument attributes you could have metadata indicating that an argument has to be prefilled with zeros.

My reasoning behind the 2 dicts  is having a clear divide between function attributes and attributes that come from other metadata.  

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


More information about the Mlir-commits mailing list