[TVM][Bugfix] Fix missing runtime:: (#2966)
authorhlu1 <14827759+hlu1@users.noreply.github.com>
Fri, 5 Apr 2019 02:49:26 +0000 (19:49 -0700)
committerTianqi Chen <tqchen@users.noreply.github.com>
Fri, 5 Apr 2019 02:49:26 +0000 (19:49 -0700)
include/tvm/build_module.h

index 86217ba..ddcdf90 100644 (file)
@@ -431,7 +431,7 @@ inline runtime::TVMRetValue GenericFunc::operator()(Args&& ...args) const {
   const int kArraySize = kNumArgs > 0 ? kNumArgs : 1;
   TVMValue values[kArraySize];
   int type_codes[kArraySize];
-  runtime::detail::for_each(TVMArgsSetter(values, type_codes),
+  runtime::detail::for_each(runtime::TVMArgsSetter(values, type_codes),
     std::forward<Args>(args)...);
   runtime::TVMRetValue rv;
   CallPacked(TVMArgs(values, type_codes, kNumArgs), &rv);