From 5795539c0d15a94c2278b576b857a48a40bae824 Mon Sep 17 00:00:00 2001 From: Tianqi Chen Date: Fri, 10 Apr 2020 10:58:59 -0700 Subject: [PATCH] [CI] Fix the hexagon string (#5304) --- src/target/target.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/target.cc b/src/target/target.cc index 306fba455c9c..61d5f6fe79ad 100644 --- a/src/target/target.cc +++ b/src/target/target.cc @@ -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;