masahi commented on code in PR #13050:
URL: https://github.com/apache/tvm/pull/13050#discussion_r996070811
##########
src/meta_schedule/database/json_database.cc:
##########
@@ -67,6 +68,10 @@ void JSONFileAppendLine(const String& path, const
std::string& line) {
/*! \brief The default database implementation, which mimics two database
tables with two files. */
class JSONDatabaseNode : public DatabaseNode {
public:
+ explicit JSONDatabaseNode(String mod_eq_name = "structural")
Review Comment:
Just tried: Removing the construction of `workloads2idx_`,
`workloads2idx_(/*bucket_count*/ 0, WorkloadHash(),
WorkloadEqual(GetModuleEquality()))` leads to compilation failure since
`workloads2idx_` cannot be default-constructed (due to `WorkloadEqual` which
requires `mod_eq` to be initialized).
--
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]