projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e21f268
)
[CI] Fix the hexagon string (#5304)
author
Tianqi Chen
<tqchen@users.noreply.github.com>
Fri, 10 Apr 2020 17:58:59 +0000
(10:58 -0700)
committer
GitHub
<noreply@github.com>
Fri, 10 Apr 2020 17:58:59 +0000
(10:58 -0700)
src/target/target.cc
patch
|
blob
|
history
diff --git
a/src/target/target.cc
b/src/target/target.cc
index
306fba4
..
61d5f6f
100644
(file)
--- 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;