Unverified Commit 5795539c by Tianqi Chen Committed by GitHub

[CI] Fix the hexagon string (#5304)

parent e21f2682
......@@ -137,7 +137,7 @@ Target CreateTarget(const std::string& target_name,
} else if (target_name == "hybrid") {
t->device_type = kDLCPU;
} else if (target_name == "hexagon") {
t->keys_array.push_back(tir::StringImmNode::make("hexagon"));
t->keys_array.push_back(runtime::String("hexagon"));
t->device_type = kDLHexagon;
} else {
LOG(ERROR) << "Unknown target name " << target_name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment