This is an automated email from the ASF dual-hosted git repository.
zhic pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git
The following commit(s) were added to refs/heads/master by this push:
new 5795539 [CI] Fix the hexagon string (#5304)
5795539 is described below
commit 5795539c0d15a94c2278b576b857a48a40bae824
Author: Tianqi Chen <[email protected]>
AuthorDate: Fri Apr 10 10:58:59 2020 -0700
[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 306fba4..61d5f6f 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;