hopkinn opened a new issue #9317:
URL: https://github.com/apache/tvm/issues/9317
I followed the official tutorial to install TVM and encountered an error
when I finally executed the compilation “make -j4”.
The error is as follows:
`Scanning dependencies of target tvm_libinfo_objs
[ 1%] Built target project_libbacktrace
[ 1%] Building CXX object
CMakeFiles/tvm_libinfo_objs.dir/src/support/libinfo.cc.o
Scanning dependencies of target tvm_runtime_objs
[ 1%] Building CXX object
CMakeFiles/tvm_runtime_objs.dir/src/runtime/ndarray.cc.o
[ 1%] Building CXX object
CMakeFiles/tvm_runtime_objs.dir/src/runtime/builtin_fp16.cc.o
"ime" 16:27 19-10月-21
[ 1%] Building CXX object
CMakeFiles/tvm_runtime_objs.dir/src/runtime/workspace_pool.cc.o
Scanning dependencies of target tvm_objs
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:16:0,
from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/common.h:14,
from
/home/dhb/software/tvm/include/tvm/runtime/logging.h:32,
from /home/dhb/software/tvm/include/tvm/runtime/object.h:27,
from /home/dhb/software/tvm/src/support/libinfo.cc:19:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/base.h:137:71: note:
#pragma message: Will need g++-5.0 or higher to compile allthe features in
dmlc-core, compile without c++11, some features may be disabled
"compile without c++11, some features may be disabled")
^
In file included from
/home/dhb/software/tvm/include/tvm/runtime/object.h:27:0,
from /home/dhb/software/tvm/src/support/libinfo.cc:19:
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::InternalError::InternalError(std::string, int, std::string,
time_t, std::string)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:250:17: error:
‘put_time’ is not a member of ‘std’
s << "[" << std::put_time(std::localtime(&time), "%H:%M:%S") << "] " <<
file << ":" << lineno
^
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::detail::LogMessage::LogMessage(const string&, int)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:375:23: error:
‘put_time’ is not a member of ‘std’
stream_ << "[" << std::put_time(std::localtime(&t), "%H:%M:%S") << "] "
<< file << ":" << lineno
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:16:0,
from
/home/dhb/software/tvm/include/tvm/runtime/container/./base.h:27,
from
/home/dhb/software/tvm/include/tvm/runtime/container/optional.h:29,
from
/home/dhb/software/tvm/include/tvm/runtime/ndarray.h:28,
from
/home/dhb/software/tvm/include/tvm/runtime/device_api.h:28,
from /home/dhb/software/tvm/src/runtime/workspace_pool.h:27,
from
/home/dhb/software/tvm/src/runtime/workspace_pool.cc:24:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/base.h:137:71: note:
#pragma message: Will need g++-5.0 or higher to compile allthe features in
dmlc-core, compile without c++11, some features may be disabled
"compile without c++11, some features may be disabled")
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:16:0,
from
/home/dhb/software/tvm/include/tvm/runtime/container/./base.h:27,
from
/home/dhb/software/tvm/include/tvm/runtime/container/optional.h:29,
from
/home/dhb/software/tvm/include/tvm/runtime/ndarray.h:28,
from
/home/dhb/software/tvm/include/tvm/runtime/device_api.h:28,
from /home/dhb/software/tvm/src/runtime/ndarray.cc:25:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/base.h:137:71: note:
#pragma message: Will need g++-5.0 or higher to compile allthe features in
dmlc-core, compile without c++11, some features may be disabled
"compile without c++11, some features may be disabled")
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from
/home/dhb/software/tvm/include/tvm/runtime/container/./base.h:27,
from
/home/dhb/software/tvm/include/tvm/runtime/container/optional.h:29,
from
/home/dhb/software/tvm/include/tvm/runtime/ndarray.h:28,
from
/home/dhb/software/tvm/include/tvm/runtime/device_api.h:28,
from /home/dhb/software/tvm/src/runtime/workspace_pool.h:27,
from
/home/dhb/software/tvm/src/runtime/workspace_pool.cc:24:
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::InternalError::InternalError(std::string, int, std::string,
time_t, std::string)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:250:17: error:
‘put_time’ is not a member of ‘std’
s << "[" << std::put_time(std::localtime(&time), "%H:%M:%S") << "] " <<
file << ":" << lineno
^
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::detail::LogMessage::LogMessage(const string&, int)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:375:23: error:
‘put_time’ is not a member of ‘std’
stream_ << "[" << std::put_time(std::localtime(&t), "%H:%M:%S") << "] "
<< file << ":" << lineno
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from
/home/dhb/software/tvm/include/tvm/runtime/container/./base.h:27,
from
/home/dhb/software/tvm/include/tvm/runtime/container/optional.h:29,
from
/home/dhb/software/tvm/include/tvm/runtime/ndarray.h:28,
from
/home/dhb/software/tvm/include/tvm/runtime/device_api.h:28,
from /home/dhb/software/tvm/src/runtime/ndarray.cc:25:
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::InternalError::InternalError(std::string, int, std::string,
time_t, std::string)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:250:17: error:
‘put_time’ is not a member of ‘std’
s << "[" << std::put_time(std::localtime(&time), "%H:%M:%S") << "] " <<
file << ":" << lineno
^
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::detail::LogMessage::LogMessage(const string&, int)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:375:23: error:
‘put_time’ is not a member of ‘std’
stream_ << "[" << std::put_time(std::localtime(&t), "%H:%M:%S") << "] "
<< file << ":" << lineno
^
[ 1%] Building CXX object
CMakeFiles/tvm_objs.dir/src/auto_scheduler/loop_state.cc.o
CMakeFiles/tvm_runtime_objs.dir/build.make:110: recipe for target
'CMakeFiles/tvm_runtime_objs.dir/src/runtime/workspace_pool.cc.o' failed
make[2]: ***
[CMakeFiles/tvm_runtime_objs.dir/src/runtime/workspace_pool.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/tvm_libinfo_objs.dir/build.make:62: recipe for target
'CMakeFiles/tvm_libinfo_objs.dir/src/support/libinfo.cc.o' failed
make[2]: *** [CMakeFiles/tvm_libinfo_objs.dir/src/support/libinfo.cc.o]
Error 1
CMakeFiles/Makefile2:181: recipe for target
'CMakeFiles/tvm_libinfo_objs.dir/all' failed
make[1]: *** [CMakeFiles/tvm_libinfo_objs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 1%] Building CXX object
CMakeFiles/tvm_objs.dir/src/auto_scheduler/measure_record.cc.o
[ 2%] Building CXX object
CMakeFiles/tvm_objs.dir/src/auto_scheduler/feature.cc.o
CMakeFiles/tvm_runtime_objs.dir/build.make:62: recipe for target
'CMakeFiles/tvm_runtime_objs.dir/src/runtime/ndarray.cc.o' failed
make[2]: *** [CMakeFiles/tvm_runtime_objs.dir/src/runtime/ndarray.cc.o]
Error 1
CMakeFiles/Makefile2:107: recipe for target
'CMakeFiles/tvm_runtime_objs.dir/all' failed
make[1]: *** [CMakeFiles/tvm_runtime_objs.dir/all] Error 2
[ 2%] Building CXX object
CMakeFiles/tvm_objs.dir/src/auto_scheduler/search_task.cc.o
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:16:0,
from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/common.h:14,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/src/auto_scheduler/loop_state.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/base.h:137:71: note:
#pragma message: Will need g++-5.0 or higher to compile allthe features in
dmlc-core, compile without c++11, some features may be disabled
"compile without c++11, some features may be disabled")
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:16:0,
from /home/dhb/software/tvm/include/tvm/node/functor.h:26,
from
/home/dhb/software/tvm/include/tvm/node/structural_equal.h:26,
from
/home/dhb/software/tvm/include/tvm/node/reflection.h:26,
from /home/dhb/software/tvm/include/tvm/node/node.h:37,
from /home/dhb/software/tvm/include/tvm/ir/span.h:27,
from /home/dhb/software/tvm/include/tvm/ir/expr.h:27,
from /home/dhb/software/tvm/include/tvm/arith/int_set.h:27,
from /home/dhb/software/tvm/include/tvm/arith/analyzer.h:27,
from
/home/dhb/software/tvm/src/auto_scheduler/feature.cc:25:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/base.h:137:71: note:
#pragma message: Will need g++-5.0 or higher to compile allthe features in
dmlc-core, compile without c++11, some features may be disabled
"compile without c++11, some features may be disabled")
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/common.h:14,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/src/auto_scheduler/loop_state.cc:26:
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::InternalError::InternalError(std::string, int, std::string,
time_t, std::string)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:250:17: error:
‘put_time’ is not a member of ‘std’
s << "[" << std::put_time(std::localtime(&time), "%H:%M:%S") << "] " <<
file << ":" << lineno
^
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::detail::LogMessage::LogMessage(const string&, int)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:375:23: error:
‘put_time’ is not a member of ‘std’
stream_ << "[" << std::put_time(std::localtime(&t), "%H:%M:%S") << "] "
<< file << ":" << lineno
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:23:0,
from
/home/dhb/software/tvm/src/auto_scheduler/measure_record.cc:25:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/base.h:137:71: note:
#pragma message: Will need g++-5.0 or higher to compile allthe features in
dmlc-core, compile without c++11, some features may be disabled
"compile without c++11, some features may be disabled")
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from /home/dhb/software/tvm/include/tvm/node/functor.h:26,
from
/home/dhb/software/tvm/include/tvm/node/structural_equal.h:26,
from
/home/dhb/software/tvm/include/tvm/node/reflection.h:26,
from /home/dhb/software/tvm/include/tvm/node/node.h:37,
from /home/dhb/software/tvm/include/tvm/ir/span.h:27,
from /home/dhb/software/tvm/include/tvm/ir/expr.h:27,
from /home/dhb/software/tvm/include/tvm/arith/int_set.h:27,
from /home/dhb/software/tvm/include/tvm/arith/analyzer.h:27,
from
/home/dhb/software/tvm/src/auto_scheduler/feature.cc:25:
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::InternalError::InternalError(std::string, int, std::string,
time_t, std::string)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:250:17: error:
‘put_time’ is not a member of ‘std’
s << "[" << std::put_time(std::localtime(&time), "%H:%M:%S") << "] " <<
file << ":" << lineno
^
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::detail::LogMessage::LogMessage(const string&, int)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:375:23: error:
‘put_time’ is not a member of ‘std’
stream_ << "[" << std::put_time(std::localtime(&t), "%H:%M:%S") << "] "
<< file << ":" << lineno
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:16:0,
from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/common.h:14,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/search_task.h:28,
from
/home/dhb/software/tvm/src/auto_scheduler/search_task.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/base.h:137:71: note:
#pragma message: Will need g++-5.0 or higher to compile allthe features in
dmlc-core, compile without c++11, some features may be disabled
"compile without c++11, some features may be disabled")
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:24,
from
/home/dhb/software/tvm/src/auto_scheduler/measure_record.cc:25:
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::InternalError::InternalError(std::string, int, std::string,
time_t, std::string)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:250:17: error:
‘put_time’ is not a member of ‘std’
s << "[" << std::put_time(std::localtime(&time), "%H:%M:%S") << "] " <<
file << ":" << lineno
^
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::detail::LogMessage::LogMessage(const string&, int)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:375:23: error:
‘put_time’ is not a member of ‘std’
stream_ << "[" << std::put_time(std::localtime(&t), "%H:%M:%S") << "] "
<< file << ":" << lineno
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/common.h:14,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/search_task.h:28,
from
/home/dhb/software/tvm/src/auto_scheduler/search_task.cc:26:
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::InternalError::InternalError(std::string, int, std::string,
time_t, std::string)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:250:17: error:
‘put_time’ is not a member of ‘std’
s << "[" << std::put_time(std::localtime(&time), "%H:%M:%S") << "] " <<
file << ":" << lineno
^
In file included from
/home/dhb/software/tvm/src/auto_scheduler/measure_record.cc:25:0:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: At global
scope:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:561:57: error:
‘any’ does not name a type
inline static void WriteAny(JSONWriter *writer, const any &data) {
^
/home/dhb/software/tvm/include/tvm/runtime/logging.h: In constructor
‘tvm::runtime::detail::LogMessage::LogMessage(const string&, int)’:
/home/dhb/software/tvm/include/tvm/runtime/logging.h:375:23: error:
‘put_time’ is not a member of ‘std’
stream_ << "[" << std::put_time(std::localtime(&t), "%H:%M:%S") << "] "
<< file << ":" << lineno
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:565:50: error:
‘any’ has not been declared
inline static void ReadAny(JSONReader *reader, any* data) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:572:38: error:
‘any’ has not been declared
void (*read)(JSONReader* reader, any *data);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:573:45: error:
‘any’ does not name a type
void (*write)(JSONWriter* reader, const any& data);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:22: error:
‘type_index’ is not a member of ‘std’
std::unordered_map<std::type_index, std::string> type_name_;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:22: error:
‘type_index’ is not a member of ‘std’
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 1 is invalid
std::unordered_map<std::type_index, std::string> type_name_;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 3 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 4 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 5 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: In member
function ‘dmlc::json::AnyJSONManager&
dmlc::json::AnyJSONManager::EnableType(const string&)’:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:536:5: error:
‘type_index’ is not a member of ‘std’
std::type_index tp = std::type_index(typeid(T));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:537:20: error:
request for member ‘count’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
if (type_name_.count(tp) != 0) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:537:26: error:
‘tp’ was not declared in this scope
if (type_name_.count(tp) != 0) {
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:24,
from
/home/dhb/software/tvm/src/auto_scheduler/measure_record.cc:25:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:538:7: error:
request for member ‘at’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
CHECK(type_name_.at(tp) == type_name)
^
In file included from
/home/dhb/software/tvm/src/auto_scheduler/measure_record.cc:25:0:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:539:84: error:
request for member ‘at’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
<< "Type has already been registered as another typename " <<
type_name_.at(tp);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:547:16: error:
‘tp’ was not declared in this scope
type_name_[tp] = type_name;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: In static
member function ‘static void
dmlc::json::AnyJSONManager::WriteAny(dmlc::JSONWriter*, const int&)’:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:562:19: error:
‘unsafe_get’ is not a member of ‘dmlc’
writer->Write(dmlc::unsafe_get<T>(data));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:562:37: error:
expected primary-expression before ‘>’ token
writer->Write(dmlc::unsafe_get<T>(data));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: At global
scope:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:584:16: error:
‘any’ was not declared in this scope
struct Handler<any> {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:584:19: error:
template argument 1 is invalid
struct Handler<any> {
^
In file included from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:49:0,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/src/auto_scheduler/loop_state.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: At global
scope:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:561:57: error:
‘any’ does not name a type
inline static void WriteAny(JSONWriter *writer, const any &data) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:565:50: error:
‘any’ has not been declared
inline static void ReadAny(JSONReader *reader, any* data) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:572:38: error:
‘any’ has not been declared
void (*read)(JSONReader* reader, any *data);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:573:45: error:
‘any’ does not name a type
void (*write)(JSONWriter* reader, const any& data);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:22: error:
‘type_index’ is not a member of ‘std’
std::unordered_map<std::type_index, std::string> type_name_;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:22: error:
‘type_index’ is not a member of ‘std’
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 1 is invalid
std::unordered_map<std::type_index, std::string> type_name_;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 3 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 4 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 5 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: In member
function ‘dmlc::json::AnyJSONManager&
dmlc::json::AnyJSONManager::EnableType(const string&)’:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:536:5: error:
‘type_index’ is not a member of ‘std’
std::type_index tp = std::type_index(typeid(T));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:537:20: error:
request for member ‘count’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
if (type_name_.count(tp) != 0) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:537:26: error:
‘tp’ was not declared in this scope
if (type_name_.count(tp) != 0) {
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/common.h:14,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/src/auto_scheduler/loop_state.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:538:7: error:
request for member ‘at’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
CHECK(type_name_.at(tp) == type_name)
^
In file included from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:49:0,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/src/auto_scheduler/loop_state.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:539:84: error:
request for member ‘at’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
<< "Type has already been registered as another typename " <<
type_name_.at(tp);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:547:16: error:
‘tp’ was not declared in this scope
type_name_[tp] = type_name;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: In static
member function ‘static void
dmlc::json::AnyJSONManager::WriteAny(dmlc::JSONWriter*, const int&)’:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:562:19: error:
‘unsafe_get’ is not a member of ‘dmlc’
writer->Write(dmlc::unsafe_get<T>(data));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:562:37: error:
expected primary-expression before ‘>’ token
writer->Write(dmlc::unsafe_get<T>(data));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: At global
scope:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:584:16: error:
‘any’ was not declared in this scope
struct Handler<any> {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:584:19: error:
template argument 1 is invalid
struct Handler<any> {
^
In file included from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:49:0,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/search_task.h:28,
from
/home/dhb/software/tvm/src/auto_scheduler/search_task.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: At global
scope:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:561:57: error:
‘any’ does not name a type
inline static void WriteAny(JSONWriter *writer, const any &data) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:565:50: error:
‘any’ has not been declared
inline static void ReadAny(JSONReader *reader, any* data) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:572:38: error:
‘any’ has not been declared
void (*read)(JSONReader* reader, any *data);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:573:45: error:
‘any’ does not name a type
void (*write)(JSONWriter* reader, const any& data);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:22: error:
‘type_index’ is not a member of ‘std’
std::unordered_map<std::type_index, std::string> type_name_;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:22: error:
‘type_index’ is not a member of ‘std’
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 1 is invalid
std::unordered_map<std::type_index, std::string> type_name_;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 3 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 4 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 5 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: In member
function ‘dmlc::json::AnyJSONManager&
dmlc::json::AnyJSONManager::EnableType(const string&)’:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:536:5: error:
‘type_index’ is not a member of ‘std’
std::type_index tp = std::type_index(typeid(T));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:537:20: error:
request for member ‘count’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
if (type_name_.count(tp) != 0) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:537:26: error:
‘tp’ was not declared in this scope
if (type_name_.count(tp) != 0) {
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/common.h:14,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/search_task.h:28,
from
/home/dhb/software/tvm/src/auto_scheduler/search_task.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:538:7: error:
request for member ‘at’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
CHECK(type_name_.at(tp) == type_name)
^
In file included from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:49:0,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/search_task.h:28,
from
/home/dhb/software/tvm/src/auto_scheduler/search_task.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:539:84: error:
request for member ‘at’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
<< "Type has already been registered as another typename " <<
type_name_.at(tp);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:547:16: error:
‘tp’ was not declared in this scope
type_name_[tp] = type_name;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: In static
member function ‘static void
dmlc::json::AnyJSONManager::WriteAny(dmlc::JSONWriter*, const int&)’:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:562:19: error:
‘unsafe_get’ is not a member of ‘dmlc’
writer->Write(dmlc::unsafe_get<T>(data));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:562:37: error:
expected primary-expression before ‘>’ token
writer->Write(dmlc::unsafe_get<T>(data));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: At global
scope:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:584:16: error:
‘any’ was not declared in this scope
struct Handler<any> {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:584:19: error:
template argument 1 is invalid
struct Handler<any> {
^
In file included from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:49:0,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/feature.h:34,
from
/home/dhb/software/tvm/src/auto_scheduler/feature.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: At global
scope:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:561:57: error:
‘any’ does not name a type
inline static void WriteAny(JSONWriter *writer, const any &data) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:565:50: error:
‘any’ has not been declared
inline static void ReadAny(JSONReader *reader, any* data) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:572:38: error:
‘any’ has not been declared
void (*read)(JSONReader* reader, any *data);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:573:45: error:
‘any’ does not name a type
void (*write)(JSONWriter* reader, const any& data);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:22: error:
‘type_index’ is not a member of ‘std’
std::unordered_map<std::type_index, std::string> type_name_;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:22: error:
‘type_index’ is not a member of ‘std’
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 1 is invalid
std::unordered_map<std::type_index, std::string> type_name_;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 3 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 4 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:579:50: error:
template argument 5 is invalid
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: In member
function ‘dmlc::json::AnyJSONManager&
dmlc::json::AnyJSONManager::EnableType(const string&)’:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:536:5: error:
‘type_index’ is not a member of ‘std’
std::type_index tp = std::type_index(typeid(T));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:537:20: error:
request for member ‘count’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
if (type_name_.count(tp) != 0) {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:537:26: error:
‘tp’ was not declared in this scope
if (type_name_.count(tp) != 0) {
^
In file included from
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/logging.h:132:0,
from /home/dhb/software/tvm/include/tvm/node/functor.h:26,
from
/home/dhb/software/tvm/include/tvm/node/structural_equal.h:26,
from
/home/dhb/software/tvm/include/tvm/node/reflection.h:26,
from /home/dhb/software/tvm/include/tvm/node/node.h:37,
from /home/dhb/software/tvm/include/tvm/ir/span.h:27,
from /home/dhb/software/tvm/include/tvm/ir/expr.h:27,
from /home/dhb/software/tvm/include/tvm/arith/int_set.h:27,
from /home/dhb/software/tvm/include/tvm/arith/analyzer.h:27,
from
/home/dhb/software/tvm/src/auto_scheduler/feature.cc:25:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:538:7: error:
request for member ‘at’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
CHECK(type_name_.at(tp) == type_name)
^
In file included from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:49:0,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/feature.h:34,
from
/home/dhb/software/tvm/src/auto_scheduler/feature.cc:26:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:539:84: error:
request for member ‘at’ in
‘((dmlc::json::AnyJSONManager*)this)->dmlc::json::AnyJSONManager::type_name_’,
which is of non-class type ‘int’
<< "Type has already been registered as another typename " <<
type_name_.at(tp);
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:547:16: error:
‘tp’ was not declared in this scope
type_name_[tp] = type_name;
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: In static
member function ‘static void
dmlc::json::AnyJSONManager::WriteAny(dmlc::JSONWriter*, const int&)’:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:562:19: error:
‘unsafe_get’ is not a member of ‘dmlc’
writer->Write(dmlc::unsafe_get<T>(data));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:562:37: error:
expected primary-expression before ‘>’ token
writer->Write(dmlc::unsafe_get<T>(data));
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h: At global
scope:
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:584:16: error:
‘any’ was not declared in this scope
struct Handler<any> {
^
/home/dhb/software/tvm/3rdparty/dmlc-core/include/dmlc/json.h:584:19: error:
template argument 1 is invalid
struct Handler<any> {
^
In file included from
/home/dhb/software/tvm/include/tvm/ir/diagnostic.h:29:0,
from
/home/dhb/software/tvm/include/tvm/ir/type_relation.h:28,
from /home/dhb/software/tvm/include/tvm/ir/op.h:32,
from /home/dhb/software/tvm/include/tvm/tir/op.h:32,
from /home/dhb/software/tvm/include/tvm/te/tensor.h:29,
from /home/dhb/software/tvm/include/tvm/te/schedule.h:29,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/src/auto_scheduler/measure_record.cc:26:
/home/dhb/software/tvm/include/tvm/ir/module.h:364:70: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
std::unordered_set<String> import_set = {},
parser::SourceMap map = {},
^
/home/dhb/software/tvm/include/tvm/ir/module.h:409:48: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
std::unordered_set<String> import_set = {});
^
/home/dhb/software/tvm/include/tvm/ir/module.h: In constructor
‘tvm::IRModule::IRModule()’:
/home/dhb/software/tvm/include/tvm/ir/module.h:368:53: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
IRModule() : IRModule(Map<GlobalVar, BaseFunc>({})) {}
^
In file included from
/home/dhb/software/tvm/include/tvm/ir/diagnostic.h:29:0,
from
/home/dhb/software/tvm/include/tvm/ir/type_relation.h:28,
from /home/dhb/software/tvm/include/tvm/ir/op.h:32,
from /home/dhb/software/tvm/include/tvm/tir/op.h:32,
from /home/dhb/software/tvm/include/tvm/te/tensor.h:29,
from /home/dhb/software/tvm/include/tvm/te/schedule.h:29,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/feature.h:34,
from
/home/dhb/software/tvm/src/auto_scheduler/feature.cc:26:
/home/dhb/software/tvm/include/tvm/ir/module.h:364:70: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
std::unordered_set<String> import_set = {},
parser::SourceMap map = {},
^
/home/dhb/software/tvm/include/tvm/ir/module.h:409:48: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
std::unordered_set<String> import_set = {});
^
/home/dhb/software/tvm/include/tvm/ir/module.h: In constructor
‘tvm::IRModule::IRModule()’:
/home/dhb/software/tvm/include/tvm/ir/module.h:368:53: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
IRModule() : IRModule(Map<GlobalVar, BaseFunc>({})) {}
^
In file included from
/home/dhb/software/tvm/include/tvm/ir/diagnostic.h:29:0,
from
/home/dhb/software/tvm/include/tvm/ir/type_relation.h:28,
from /home/dhb/software/tvm/include/tvm/ir/op.h:32,
from /home/dhb/software/tvm/include/tvm/tir/op.h:32,
from /home/dhb/software/tvm/include/tvm/te/tensor.h:29,
from /home/dhb/software/tvm/include/tvm/te/schedule.h:29,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/src/auto_scheduler/loop_state.cc:26:
/home/dhb/software/tvm/include/tvm/ir/module.h:364:70: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
std::unordered_set<String> import_set = {},
parser::SourceMap map = {},
^
/home/dhb/software/tvm/include/tvm/ir/module.h:409:48: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
std::unordered_set<String> import_set = {});
^
/home/dhb/software/tvm/include/tvm/ir/module.h: In constructor
‘tvm::IRModule::IRModule()’:
/home/dhb/software/tvm/include/tvm/ir/module.h:368:53: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
IRModule() : IRModule(Map<GlobalVar, BaseFunc>({})) {}
^
In file included from
/home/dhb/software/tvm/include/tvm/ir/diagnostic.h:29:0,
from
/home/dhb/software/tvm/include/tvm/ir/type_relation.h:28,
from /home/dhb/software/tvm/include/tvm/ir/op.h:32,
from /home/dhb/software/tvm/include/tvm/tir/op.h:32,
from /home/dhb/software/tvm/include/tvm/te/tensor.h:29,
from /home/dhb/software/tvm/include/tvm/te/schedule.h:29,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/transform_step.h:51,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/loop_state.h:52,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/compute_dag.h:37,
from
/home/dhb/software/tvm/include/tvm/auto_scheduler/search_task.h:28,
from
/home/dhb/software/tvm/src/auto_scheduler/search_task.cc:26:
/home/dhb/software/tvm/include/tvm/ir/module.h:364:70: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
std::unordered_set<String> import_set = {},
parser::SourceMap map = {},
^
/home/dhb/software/tvm/include/tvm/ir/module.h:409:48: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
std::unordered_set<String> import_set = {});
^
/home/dhb/software/tvm/include/tvm/ir/module.h: In constructor
‘tvm::IRModule::IRModule()’:
/home/dhb/software/tvm/include/tvm/ir/module.h:368:53: error: converting to
‘std::unordered_set<tvm::runtime::String>’ from initializer list would use
explicit constructor ‘std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::unordered_set(std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type, const hasher&, const key_equal&, const allocator_type&)
[with _Value = tvm::runtime::String; _Hash = std::hash<tvm::runtime::String>;
_Pred = std::equal_to<tvm::runtime::String>; _Alloc =
std::allocator<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::size_type = long unsigned int; std::unordered_set<_Value, _Hash,
_Pred, _Alloc>::hasher = std::hash<tvm::runtime::String>;
std::unordered_set<_Value, _Hash, _Pred, _Alloc>::key_equal =
std::equal_to<tvm::runtime::String>; std::unordered_set<_Value, _Hash, _Pred,
_Alloc>::allocator_type = std::allocator<tvm::runtime::String>]’
IRModule() : IRModule(Map<GlobalVar, BaseFunc>({})) {}
^
CMakeFiles/tvm_objs.dir/build.make:86: recipe for target
'CMakeFiles/tvm_objs.dir/src/auto_scheduler/measure_record.cc.o' failed
make[2]: ***
[CMakeFiles/tvm_objs.dir/src/auto_scheduler/measure_record.cc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/tvm_objs.dir/build.make:134: recipe for target
'CMakeFiles/tvm_objs.dir/src/auto_scheduler/search_task.cc.o' failed
make[2]: *** [CMakeFiles/tvm_objs.dir/src/auto_scheduler/search_task.cc.o]
Error 1
CMakeFiles/tvm_objs.dir/build.make:62: recipe for target
'CMakeFiles/tvm_objs.dir/src/auto_scheduler/loop_state.cc.o' failed
make[2]: *** [CMakeFiles/tvm_objs.dir/src/auto_scheduler/loop_state.cc.o]
Error 1
CMakeFiles/tvm_objs.dir/build.make:110: recipe for target
'CMakeFiles/tvm_objs.dir/src/auto_scheduler/feature.cc.o' failed
make[2]: *** [CMakeFiles/tvm_objs.dir/src/auto_scheduler/feature.cc.o] Error
1
CMakeFiles/Makefile2:218: recipe for target 'CMakeFiles/tvm_objs.dir/all'
failed
make[1]: *** [CMakeFiles/tvm_objs.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]