[Mlir-commits] [mlir] 1269f96 - [mlir] Add MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID to SerializeToCubinPass
River Riddle
llvmlistbot at llvm.org
Mon Apr 4 14:28:23 PDT 2022
Author: River Riddle
Date: 2022-04-04T14:28:10-07:00
New Revision: 1269f96d2ef4fa0af61b7adf25a7f044eacf9a14
URL: https://github.com/llvm/llvm-project/commit/1269f96d2ef4fa0af61b7adf25a7f044eacf9a14
DIFF: https://github.com/llvm/llvm-project/commit/1269f96d2ef4fa0af61b7adf25a7f044eacf9a14.diff
LOG: [mlir] Add MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID to SerializeToCubinPass
This pass is defined in an anonymous namespace and requires an explicit TypeID
Added:
Modified:
mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp b/mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp
index 980ab653a3090..9742607440c48 100644
--- a/mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp
+++ b/mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp
@@ -45,6 +45,8 @@ namespace {
class SerializeToCubinPass
: public PassWrapper<SerializeToCubinPass, gpu::SerializeToBlobPass> {
public:
+ MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(SerializeToCubinPass)
+
SerializeToCubinPass();
StringRef getArgument() const override { return "gpu-to-cubin"; }
More information about the Mlir-commits
mailing list