[CI] Fix the hexagon string (#5304)
authorTianqi Chen <tqchen@users.noreply.github.com>
Fri, 10 Apr 2020 17:58:59 +0000 (10:58 -0700)
committerGitHub <noreply@github.com>
Fri, 10 Apr 2020 17:58:59 +0000 (10:58 -0700)
src/target/target.cc

index 306fba4..61d5f6f 100644 (file)
@@ -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;