Skip to content

Commit

Permalink
unused clauses removed
Browse files Browse the repository at this point in the history
  • Loading branch information
Branju committed May 23, 2022
1 parent 1b59dc0 commit d4d91cf
Show file tree
Hide file tree
Showing 457 changed files with 520 additions and 520 deletions.
2 changes: 1 addition & 1 deletion filter/samples/sample_1.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
double sum = (double )0;
for (int i = 0; i < M; i++) {

#pragma HLS PIPELINE II=20 enable_flush rewind
#pragma HLS PIPELINE II=20 rewind
for (int j = 0; j < M; j++) {

#pragma UNEXPRESSED
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_101.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma HLS UNROLL factor=1
for (int j = 0; j < M; j++) {

#pragma HLS PIPELINE II=24 enable_flush
#pragma HLS PIPELINE II=24
double weight = kernel[linearize(i,j,M,M)];
int target = linearize(x + i,y + j,N,N);
if (target < 0)
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_103.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma HLS UNROLL
for (int j = 0; j < M; j++) {

#pragma HLS PIPELINE II=20 enable_flush
#pragma HLS PIPELINE II=20
double weight = kernel[linearize(i,j,M,M)];
int target = linearize(x + i,y + j,N,N);
if (target < 0)
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_104.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_108.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
double sum = (double )0;
for (int i = 0; i < M; i++) {

#pragma HLS PIPELINE II=0 enable_flush
#pragma HLS PIPELINE II=0
for (int j = 0; j < M; j++) {

#pragma HLS UNROLL factor=1
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_109.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand Down
4 changes: 2 additions & 2 deletions filter/samples/sample_11.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=10 enable_flush rewind
#pragma HLS PIPELINE II=10 rewind
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {

#pragma HLS PIPELINE II=20 enable_flush
#pragma HLS PIPELINE II=20
for (int j = 0; j < M; j++) {

#pragma UNEXPRESSED
Expand Down
4 changes: 2 additions & 2 deletions filter/samples/sample_110.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand All @@ -21,7 +21,7 @@ int linearize(int x,int y,int bndx,int bndy)
void apply_filter(double *kernel,double *data,double *result,const int N,const int M)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
for (int x = 0; x < N; x++) {

#pragma UNEXPRESSED
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_111.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int x = 0; x < N; x++) {

#pragma HLS PIPELINE II=18 enable_flush
#pragma HLS PIPELINE II=18
for (int y = 0; y < N; y++) {

#pragma UNEXPRESSED
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_112.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int j = 0; j < M; j++) {

#pragma HLS PIPELINE II=14 enable_flush rewind
#pragma HLS PIPELINE II=14 rewind
double weight = kernel[linearize(i,j,M,M)];
int target = linearize(x + i,y + j,N,N);
if (target < 0)
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_117.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma HLS INLINE REGION
for (int x = 0; x < N; x++) {

#pragma HLS PIPELINE II=18 enable_flush rewind
#pragma HLS PIPELINE II=18 rewind
for (int y = 0; y < N; y++) {

#pragma UNEXPRESSED
Expand Down
4 changes: 2 additions & 2 deletions filter/samples/sample_118.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ int linearize(int x,int y,int bndx,int bndy)
void apply_filter(double *kernel,double *data,double *result,const int N,const int M)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
for (int x = 0; x < N; x++) {

#pragma HLS UNROLL factor=3
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=14 enable_flush rewind
#pragma HLS PIPELINE II=14 rewind
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_12.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int x = 0; x < N; x++) {

#pragma HLS PIPELINE II=30 enable_flush rewind
#pragma HLS PIPELINE II=30 rewind
for (int y = 0; y < N; y++) {

#pragma UNEXPRESSED
Expand Down
4 changes: 2 additions & 2 deletions filter/samples/sample_121.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=0 enable_flush
#pragma HLS PIPELINE II=0
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {

#pragma HLS PIPELINE II=7 enable_flush rewind
#pragma HLS PIPELINE II=7 rewind
for (int j = 0; j < M; j++) {

#pragma UNEXPRESSED
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_122.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma HLS PIPELINE II=10 rewind
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=15 enable_flush rewind
#pragma HLS PIPELINE II=15 rewind
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_123.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=20 enable_flush
#pragma HLS PIPELINE II=20
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {
Expand Down
4 changes: 2 additions & 2 deletions filter/samples/sample_124.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int x = 0; x < N; x++) {

#pragma HLS PIPELINE II=13 enable_flush rewind
#pragma HLS PIPELINE II=13 rewind
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=10 rewind
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {

#pragma HLS PIPELINE II=14 enable_flush
#pragma HLS PIPELINE II=14
for (int j = 0; j < M; j++) {

#pragma UNEXPRESSED
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_125.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma HLS PIPELINE II=25 rewind
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=27 enable_flush
#pragma HLS PIPELINE II=27
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {
Expand Down
4 changes: 2 additions & 2 deletions filter/samples/sample_127.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand All @@ -27,7 +27,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=25 enable_flush
#pragma HLS PIPELINE II=25
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_13.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_131.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int j = 0; j < M; j++) {

#pragma HLS PIPELINE II=31 enable_flush rewind
#pragma HLS PIPELINE II=31 rewind
double weight = kernel[linearize(i,j,M,M)];
int target = linearize(x + i,y + j,N,N);
if (target < 0)
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_134.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma HLS PIPELINE II=16
for (int j = 0; j < M; j++) {

#pragma HLS PIPELINE II=8 enable_flush rewind
#pragma HLS PIPELINE II=8 rewind
double weight = kernel[linearize(i,j,M,M)];
int target = linearize(x + i,y + j,N,N);
if (target < 0)
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_135.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=29 enable_flush rewind
#pragma HLS PIPELINE II=29 rewind
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_141.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int j = 0; j < M; j++) {

#pragma HLS PIPELINE II=3 enable_flush rewind
#pragma HLS PIPELINE II=3 rewind
double weight = kernel[linearize(i,j,M,M)];
int target = linearize(x + i,y + j,N,N);
if (target < 0)
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_142.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
double sum = (double )0;
for (int i = 0; i < M; i++) {

#pragma HLS PIPELINE II=0 enable_flush rewind
#pragma HLS PIPELINE II=0 rewind
for (int j = 0; j < M; j++) {

#pragma HLS PIPELINE II=11 rewind
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_143.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_146.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int j = 0; j < M; j++) {

#pragma HLS PIPELINE II=24 enable_flush rewind
#pragma HLS PIPELINE II=24 rewind
double weight = kernel[linearize(i,j,M,M)];
int target = linearize(x + i,y + j,N,N);
if (target < 0)
Expand Down
4 changes: 2 additions & 2 deletions filter/samples/sample_147.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ int linearize(int x,int y,int bndx,int bndy)
void apply_filter(double *kernel,double *data,double *result,const int N,const int M)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
for (int x = 0; x < N; x++) {

#pragma UNEXPRESSED
Expand Down Expand Up @@ -52,7 +52,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
void OutlinedFunction0(int OrkaParam0,int OrkaParam1,double *OrkaParam2,double *OrkaParam3,double *OrkaParam4)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
;
int param_pack_temp_variable0 = (int )OrkaParam0;
int param_pack_temp_variable1 = (int )OrkaParam1;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_148.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int x = 0; x < N; x++) {

#pragma HLS PIPELINE II=0 enable_flush rewind
#pragma HLS PIPELINE II=0 rewind
for (int y = 0; y < N; y++) {

#pragma UNEXPRESSED
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_149.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_15.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
void OutlinedFunction0(int OrkaParam0,int OrkaParam1,double *OrkaParam2,double *OrkaParam3,double *OrkaParam4)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
;
int param_pack_temp_variable0 = (int )OrkaParam0;
int param_pack_temp_variable1 = (int )OrkaParam1;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_151.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int x = 0; x < N; x++) {

#pragma HLS PIPELINE II=17 enable_flush rewind
#pragma HLS PIPELINE II=17 rewind
for (int y = 0; y < N; y++) {

#pragma UNEXPRESSED
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_152.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_155.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
void OutlinedFunction0(int OrkaParam0,int OrkaParam1,double *OrkaParam2,double *OrkaParam3,double *OrkaParam4)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
;
int param_pack_temp_variable0 = (int )OrkaParam0;
int param_pack_temp_variable1 = (int )OrkaParam1;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_158.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_159.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ int data_cache_hits = 0;
int linearize(int x,int y,int bndx,int bndy)
{

#pragma HLS INLINE RECURSIVE
#pragma HLS INLINE
if (x >= bndx || y >= bndy)
return - 1;
return bndy * x + y;
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_16.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int y = 0; y < N; y++) {

#pragma HLS PIPELINE II=10 enable_flush
#pragma HLS PIPELINE II=10
double weightsum = (double )0;
double sum = (double )0;
for (int i = 0; i < M; i++) {
Expand Down
2 changes: 1 addition & 1 deletion filter/samples/sample_161.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
#pragma UNEXPRESSED
for (int x = 0; x < N; x++) {

#pragma HLS PIPELINE II=20 enable_flush rewind
#pragma HLS PIPELINE II=20 rewind
for (int y = 0; y < N; y++) {

#pragma UNEXPRESSED
Expand Down
Loading

0 comments on commit d4d91cf

Please sign in to comment.