[Mlir-commits] [mlir] [mlir][Target] Improve ROCDL gpu serialization API (PR #95456)

Krzysztof Drewniak llvmlistbot at llvm.org
Thu Jun 13 13:59:29 PDT 2024


================
@@ -27,6 +27,62 @@ namespace ROCDL {
 /// 5. Returns an empty string.
 StringRef getROCMPath();
 
+/// Helper class for specifying the AMD GCN device libraries required for
+/// compilation.
+class AMDGCNLibraryList {
----------------
krzysz00 wrote:

Nit, isn't this just `enum class AMDGCNLibraryList : uint32_t`?

... Actually, on top of that - there's already general support for bit enums. This could and should be tablegen'd

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


More information about the Mlir-commits mailing list