Skip to content
Snippets Groups Projects
Commit dd0a6853 authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Adding Init routines for AppproxHPVM wrapper runtime

parent 01e68b03
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment