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
5a4ed05e
"hpvm/projects/hpvm-tensor-rt/tensor_runtime/src/debug.cc" did not exist on "bac5b5a4031b750e9447fa92426d496755b63e72"
Commit
5a4ed05e
authored
6 years ago
by
Hashim Sharif
Browse files
Options
Downloads
Patches
Plain Diff
Minor change to include definition signatures
parent
1f6ab12d
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/test/VISC/DNN_Benchmarks/common/include/tensorUtils.h
+2
-7
2 additions, 7 deletions
llvm/test/VISC/DNN_Benchmarks/common/include/tensorUtils.h
with
2 additions
and
7 deletions
llvm/test/VISC/DNN_Benchmarks/common/include/tensorUtils.h
+
2
−
7
View file @
5a4ed05e
...
@@ -5,13 +5,8 @@
...
@@ -5,13 +5,8 @@
#include
<sstream>
#include
<sstream>
//#include <tensorTypes.h>
#include
<tensor_runtime.h>
#include
<tensor_runtime.h>
#include
<tensor.h>
#include
<tensor.h>
//#include "../../../../../projects/hpvm-tensor-rt/tensor_runtime/include/tensor.h"
//#include "../../../projects/hpvm-tensor-rt/tensor_runtime/include/tensor.h"
//#include "types.h"
void
printTensorInfo
(
void
*
tensor_ptr
){
void
printTensorInfo
(
void
*
tensor_ptr
){
...
@@ -183,7 +178,7 @@ void compareValues(void* tensor_ptr, float* data, size_t num_elems){
...
@@ -183,7 +178,7 @@ void compareValues(void* tensor_ptr, float* data, size_t num_elems){
}
}
void
*
readInputTensor
(
char
*
file_name
,
int
data_type
,
int
dim1_size
,
int
dim2_size
,
void
*
readInputTensor
(
const
char
*
file_name
,
int
data_type
,
int
dim1_size
,
int
dim2_size
,
int
dim3_size
,
int
dim4_size
){
int
dim3_size
,
int
dim4_size
){
int
type_size
=
4
;
// NOTE: Assuming floating point tensors
int
type_size
=
4
;
// NOTE: Assuming floating point tensors
...
@@ -221,7 +216,7 @@ void* readInputTensor(char* file_name, int data_type, int dim1_size, int dim2_si
...
@@ -221,7 +216,7 @@ void* readInputTensor(char* file_name, int data_type, int dim1_size, int dim2_si
struct
Tensor
*
readTrainedWeights
(
char
*
file_name
,
int
data_type
,
int
dim1_size
,
int
dim2_size
,
struct
Tensor
*
readTrainedWeights
(
const
char
*
file_name
,
int
data_type
,
int
dim1_size
,
int
dim2_size
,
int
dim3_size
,
int
dim4_size
){
int
dim3_size
,
int
dim4_size
){
// FIXIT: Don't assume floating point types
// FIXIT: Don't assume floating point types
...
...
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