Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
bcb3bef5
Commit
bcb3bef5
authored
Mar 10, 2018
by
Tianqi Chen
Committed by
GitHub
Mar 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CYTHON] Correct backtrace print for python3 (#989)
parent
a6e8fe6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/tvm/_ffi/_cython/base.pxi
+2
-2
No files found.
python/tvm/_ffi/_cython/base.pxi
View file @
bcb3bef5
...
...
@@ -37,7 +37,7 @@ cdef extern from "tvm/runtime/c_runtime_api.h":
DLDataType dtype
int64_t* shape
int64_t* strides
uint64_t byte_offset
;
uint64_t byte_offset
ctypedef struct TVMValue:
int64_t v_int64
...
...
@@ -128,7 +128,7 @@ cdef inline c_str(pystr):
cdef inline CALL(int ret):
if ret != 0:
raise TVMError(
TVMGetLastError(
))
raise TVMError(
py_str(TVMGetLastError()
))
cdef inline object ctypes_handle(void* chandle):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment