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
c4421f57
Unverified
Commit
c4421f57
authored
Sep 18, 2018
by
Tianqi Chen
Committed by
GitHub
Sep 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SUBMODULE] update submodule to latest (#1728)
parent
8c5d3efa
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
10 deletions
+5
-10
HalideIR
+1
-1
dlpack
+1
-1
include/tvm/runtime/c_runtime_api.h
+0
-4
src/codegen/build_module.cc
+1
-1
src/runtime/c_runtime_api.cc
+1
-1
vta/src/device_api.cc
+1
-2
No files found.
HalideIR
@
f519848d
Subproject commit
6f64f7866747a2a81bec84aea9bde0479c5b72c1
Subproject commit
f519848d972c67971b4cbf8c34070d5a5e3ede0d
dlpack
@
bee4d1dd
Subproject commit
10892ac964f1af7c81aae145cd3fab78bbccd297
Subproject commit
bee4d1dd8dc1ee4a1fd8fa6a96476c2f8b7492a3
include/tvm/runtime/c_runtime_api.h
View file @
c4421f57
...
...
@@ -62,11 +62,7 @@ typedef int64_t tvm_index_t;
typedef
enum
{
kDLAOCL
=
5
,
kDLSDAccel
=
6
,
kDLVulkan
=
7
,
kOpenGL
=
11
,
// Extension DRAM type, used for quickly test extension device
// The device api can differ depending on the xpu driver registered.
kExtDev
=
12
,
// AddExtraTVMType which is not in DLPack here
}
TVMDeviceExtType
;
...
...
src/codegen/build_module.cc
View file @
c4421f57
...
...
@@ -102,7 +102,7 @@ Target CreateTarget(const std::string& target_name,
}
else
if
(
target_name
==
"stackvm"
)
{
t
->
device_type
=
kDLCPU
;
}
else
if
(
target_name
==
"ext_dev"
)
{
t
->
device_type
=
kExtDev
;
t
->
device_type
=
k
DL
ExtDev
;
}
else
{
LOG
(
ERROR
)
<<
"Unknown target name "
<<
target_name
;
return
target
::
stackvm
();
...
...
src/runtime/c_runtime_api.cc
View file @
c4421f57
...
...
@@ -38,7 +38,7 @@ inline std::string DeviceName(int type) {
case
kDLVPI
:
return
"vpi"
;
case
kDLROCM
:
return
"rocm"
;
case
kOpenGL
:
return
"opengl"
;
case
kExtDev
:
return
"ext_dev"
;
case
k
DL
ExtDev
:
return
"ext_dev"
;
default
:
LOG
(
FATAL
)
<<
"unknown type ="
<<
type
;
return
"Unknown"
;
}
}
...
...
vta/src/device_api.cc
View file @
c4421f57
...
...
@@ -72,8 +72,7 @@ class VTADeviceAPI final : public DeviceAPI {
struct
VTAWorkspacePool
:
public
WorkspacePool
{
VTAWorkspacePool
()
:
WorkspacePool
(
static_cast
<
DLDeviceType
>
(
kExtDev
),
VTADeviceAPI
::
Global
())
{}
WorkspacePool
(
kDLExtDev
,
VTADeviceAPI
::
Global
())
{}
};
void
*
VTADeviceAPI
::
AllocWorkspace
(
TVMContext
ctx
,
size_t
size
,
TVMType
type_hint
)
{
...
...
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