From 6d11057a0f89dc4edb321d0c26d44258c7bc1808 Mon Sep 17 00:00:00 2001 From: MORITA Kazutaka Date: Thu, 14 Jun 2018 14:09:25 +0900 Subject: [PATCH] Remove incorrect extension registration of tvm::Target --- topi/src/topi.cc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/topi/src/topi.cc b/topi/src/topi.cc index 9c820edfeb37..7aebf21bdec4 100644 --- a/topi/src/topi.cc +++ b/topi/src/topi.cc @@ -45,22 +45,11 @@ #include #include -namespace tvm { -namespace runtime { -template<> -struct extension_class_info { - 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 or int to Array */ Array ArrayOrInt(TVMArgValue arg) { if (arg.type_code() == kDLInt || arg.type_code() == kDLUInt) {