From cd74afe218c6551a5685b494dbd89b2ea263a934 Mon Sep 17 00:00:00 2001 From: hlu1 <14827759+hlu1@users.noreply.github.com> Date: Thu, 4 Apr 2019 19:49:26 -0700 Subject: [PATCH] [TVM][Bugfix] Fix missing runtime:: (#2966) --- include/tvm/build_module.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tvm/build_module.h b/include/tvm/build_module.h index 86217ba10e76..ddcdf9089808 100644 --- a/include/tvm/build_module.h +++ b/include/tvm/build_module.h @@ -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)...); runtime::TVMRetValue rv; CallPacked(TVMArgs(values, type_codes, kNumArgs), &rv);