Skip to content

Commit 1269f96

Browse files
committed
[mlir] Add MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID to SerializeToCubinPass
This pass is defined in an anonymous namespace and requires an explicit TypeID
1 parent f1a7e50 commit 1269f96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/lib/Dialect/GPU/Transforms/SerializeToCubin.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ namespace {
4545
class SerializeToCubinPass
4646
: public PassWrapper<SerializeToCubinPass, gpu::SerializeToBlobPass> {
4747
public:
48+
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(SerializeToCubinPass)
49+
4850
SerializeToCubinPass();
4951

5052
StringRef getArgument() const override { return "gpu-to-cubin"; }

0 commit comments

Comments
 (0)