Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions topi/src/topi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,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) {
Expand Down