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
b87f8b77
Commit
b87f8b77
authored
5 years ago
by
Yasmin Sarita
Browse files
Options
Downloads
Patches
Plain Diff
changed line endings
parent
26e119b1
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/tensor_runtime/include/approx_techniques.h
+28
-28
28 additions, 28 deletions
...hpvm-tensor-rt/tensor_runtime/include/approx_techniques.h
with
28 additions
and
28 deletions
llvm/projects/hpvm-tensor-rt/tensor_runtime/include/approx_techniques.h
+
28
−
28
View file @
b87f8b77
__global__
void
depthwise_conv8
(
float
*
const
__restrict__
y
,
__global__
void
depthwise_conv8
(
float
*
const
__restrict__
y
,
const
float
*
const
__restrict__
x
,
const
float
*
const
__restrict__
x
,
const
float
*
const
__restrict__
w
,
const
float
*
const
__restrict__
w
,
...
@@ -136,13 +136,13 @@ __global__ void depthwise_conv(float* const __restrict__ y,
...
@@ -136,13 +136,13 @@ __global__ void depthwise_conv(float* const __restrict__ y,
#undef y4d
#undef y4d
#undef x4d
#undef x4d
}
}
void
*
tensorConvCutlass
(
void
*
input_ptr
,
void
*
filter_ptr
,
void
*
tensorConvCutlass
(
void
*
input_ptr
,
void
*
filter_ptr
,
int
vertical_pad
,
int
horizontal_pad
,
int
vertical_pad
,
int
horizontal_pad
,
int
vertical_stride
,
int
horizontal_stride
,
int
vertical_stride
,
int
horizontal_stride
,
int
conv_mode
,
int
conv_groups
){
int
conv_mode
,
int
conv_groups
){
llvm_hpvm_initTensorRt
(
0
);
llvm_hpvm_initTensorRt
(
0
);
INFO
(
"*** TensorConvolution
\n
"
);
INFO
(
"*** TensorConvolution
\n
"
);
...
@@ -339,22 +339,22 @@ void* tensorConvCutlass(void* input_ptr, void* filter_ptr,
...
@@ -339,22 +339,22 @@ void* tensorConvCutlass(void* input_ptr, void* filter_ptr,
#endif
#endif
return
output
;
return
output
;
}
}
void
*
tensorHalfConvCutlass
(
void
*
input
,
void
*
filter
,
void
*
tensorHalfConvCutlass
(
void
*
input
,
void
*
filter
,
int
vertical_pad
,
int
horizontal_pad
,
int
vertical_pad
,
int
horizontal_pad
,
int
vertical_stride
,
int
horizontal_stride
,
int
vertical_stride
,
int
horizontal_stride
,
int
conv_mode
,
int
conv_groups
){
int
conv_mode
,
int
conv_groups
){
}
}
// Perforated Tensor Conv with 'perforation_rate' parameter
// Perforated Tensor Conv with 'perforation_rate' parameter
void
*
tensorConvPerf
(
void
*
input
,
void
*
filter
,
void
*
tensorConvPerf
(
void
*
input
,
void
*
filter
,
int
vertical_pad
,
int
horizontal_pad
,
int
vertical_pad
,
int
horizontal_pad
,
int
vertical_stride
,
int
horizontal_stride
,
int
vertical_stride
,
int
horizontal_stride
,
int
conv_mode
,
int
conv_groups
,
double
perforation_rate
){
int
conv_mode
,
int
conv_groups
,
double
perforation_rate
){
}
}
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