Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
dd0a6853
"hpvm/test/git@gitlab.engr.illinois.edu:llvm/hpvm-release.git" did not exist on "79caffec1a82c7cc419bcf9b0e74a05ad2e9b184"
Commit
dd0a6853
authored
5 years ago
by
Hashim Sharif
Browse files
Options
Downloads
Patches
Plain Diff
Adding Init routines for AppproxHPVM wrapper runtime
parent
01e68b03
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
llvm/projects/hpvm-tensor-rt/lib/tensor_runtime.ll
+8
-0
8 additions, 0 deletions
llvm/projects/hpvm-tensor-rt/lib/tensor_runtime.ll
with
8 additions
and
0 deletions
llvm/projects/hpvm-tensor-rt/lib/tensor_runtime.ll
+
8
−
0
View file @
dd0a6853
...
...
@@ -8,6 +8,8 @@ define void @_Z13dummyFunctionv() #0 {
entry:
%initRT
=
alloca
i8
*,
align
8
%cleanRT
=
alloca
i8
*,
align
8
%initApproxhpvmRT
=
alloca
i8
*,
align
8
%cleaApproxhpvmRT
=
alloca
i8
*,
align
8
%initRTController
=
alloca
i8
*,
align
8
%cleanRTController
=
alloca
i8
*,
align
8
%request_tensorPtr
=
alloca
i8
*,
align
8
...
...
@@ -51,6 +53,8 @@ entry:
%SoftmaxWrapper
=
alloca
i8
*,
align
8
store
i8
*
bitcast
(
void
(
i32
)*
@llvm_hpvm_initTensorRt
to
i8
*),
i8
**
%initRT
,
align
8
store
i8
*
bitcast
(
void
()*
@llvm_hpvm_cleanupTensorRt
to
i8
*),
i8
**
%cleanRT
,
align
8
store
i8
*
bitcast
(
void
(
i32
)*
@llvm_hpvm_initApproxhpvmRt
to
i8
*),
i8
**
%initApproxhpvmRT
,
align
8
store
i8
*
bitcast
(
void
()*
@llvm_hpvm_cleanupApproxhpvmRt
to
i8
*),
i8
**
%cleaApproxhpvmRT
,
align
8
store
i8
*
bitcast
(
void
(
i8
*,
i8
*)*
@llvm_hpvm_initializeRuntimeController
to
i8
*),
i8
**
%initRTController
,
align
8
store
i8
*
bitcast
(
void
()*
@llvm_hpvm_clearRuntimeController
to
i8
*),
i8
**
%cleanRTController
,
align
8
store
i8
*
bitcast
(
void
(
i8
*,
i32
)*
@hpvm_request_tensor
to
i8
*),
i8
**
%request_tensorPtr
,
align
8
...
...
@@ -99,6 +103,10 @@ declare void @llvm_hpvm_initTensorRt(i32) #1
declare
void
@llvm_hpvm_cleanupTensorRt
()
#1
declare
void
@llvm_hpvm_initApproxhpvmRt
(
i32
)
#1
declare
void
@llvm_hpvm_cleanupApproxhpvmRt
()
#1
declare
void
@llvm_hpvm_initializeRuntimeController
(
i8
*,
i8
*)
#1
declare
void
@llvm_hpvm_clearRuntimeController
()
#1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment