diff --git a/topi/src/topi.cc b/topi/src/topi.cc index 93301d7030973667425256e8196165e10a8659bb..4169f5f563ad8a5a353944d196877dff7ad29fe3 100644 --- a/topi/src/topi.cc +++ b/topi/src/topi.cc @@ -47,22 +47,11 @@ #include <topi/rocm/dense.h> #include <topi/rocm/vision.h> -namespace tvm { -namespace runtime { -template<> -struct extension_class_info<tvm::Target> { - static const int code = 28; -}; -} // namespace tvm -} // namespace runtime - namespace topi { using namespace tvm; using namespace tvm::runtime; -TVM_REGISTER_EXT_TYPE(tvm::Target); - /*! \brief Canonicalize an argument that may be Array<Expr> or int to Array<Expr> */ Array<Expr> ArrayOrInt(TVMArgValue arg) { if (arg.type_code() == kDLInt || arg.type_code() == kDLUInt) {