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:
c5c1787
)
xcode.py: Decode bytes before output (#2833)
author
Ruslan Baratov
<ruslan_baratov@yahoo.com>
Sun, 17 Mar 2019 19:19:56 +0000
(22:19 +0300)
committer
Tianqi Chen
<tqchen@users.noreply.github.com>
Sun, 17 Mar 2019 19:19:56 +0000
(12:19 -0700)
python/tvm/contrib/xcode.py
patch
|
blob
|
history
diff --git
a/python/tvm/contrib/xcode.py
b/python/tvm/contrib/xcode.py
index
186df3f
..
8461f13
100644
(file)
--- a/
python/tvm/contrib/xcode.py
+++ b/
python/tvm/contrib/xcode.py
@@
-138,7
+138,7
@@
def compile_metal(code, path_target=None, sdk="macosx"):
(out, _) = proc.communicate()
if proc.returncode != 0:
sys.stderr.write("Compilation error:\n")
- sys.stderr.write(
out
)
+ sys.stderr.write(
py_str(out)
)
sys.stderr.flush()
libbin = None
else: