Skip to content

Commit d4d91cf

Browse files
committed
unused clauses removed
1 parent 1b59dc0 commit d4d91cf

File tree

457 files changed

+520
-520
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

457 files changed

+520
-520
lines changed

filter/samples/sample_1.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
3232
double sum = (double )0;
3333
for (int i = 0; i < M; i++) {
3434

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

3838
#pragma UNEXPRESSED

filter/samples/sample_101.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
3535
#pragma HLS UNROLL factor=1
3636
for (int j = 0; j < M; j++) {
3737

38-
#pragma HLS PIPELINE II=24 enable_flush
38+
#pragma HLS PIPELINE II=24
3939
double weight = kernel[linearize(i,j,M,M)];
4040
int target = linearize(x + i,y + j,N,N);
4141
if (target < 0)

filter/samples/sample_103.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
3535
#pragma HLS UNROLL
3636
for (int j = 0; j < M; j++) {
3737

38-
#pragma HLS PIPELINE II=20 enable_flush
38+
#pragma HLS PIPELINE II=20
3939
double weight = kernel[linearize(i,j,M,M)];
4040
int target = linearize(x + i,y + j,N,N);
4141
if (target < 0)

filter/samples/sample_104.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int data_cache_hits = 0;
1212
int linearize(int x,int y,int bndx,int bndy)
1313
{
1414

15-
#pragma HLS INLINE RECURSIVE
15+
#pragma HLS INLINE
1616
if (x >= bndx || y >= bndy)
1717
return - 1;
1818
return bndy * x + y;

filter/samples/sample_108.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
3232
double sum = (double )0;
3333
for (int i = 0; i < M; i++) {
3434

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

3838
#pragma HLS UNROLL factor=1

filter/samples/sample_109.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int data_cache_hits = 0;
1212
int linearize(int x,int y,int bndx,int bndy)
1313
{
1414

15-
#pragma HLS INLINE RECURSIVE
15+
#pragma HLS INLINE
1616
if (x >= bndx || y >= bndy)
1717
return - 1;
1818
return bndy * x + y;

filter/samples/sample_11.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
2727
#pragma UNEXPRESSED
2828
for (int y = 0; y < N; y++) {
2929

30-
#pragma HLS PIPELINE II=10 enable_flush rewind
30+
#pragma HLS PIPELINE II=10 rewind
3131
double weightsum = (double )0;
3232
double sum = (double )0;
3333
for (int i = 0; i < M; i++) {
3434

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

3838
#pragma UNEXPRESSED

filter/samples/sample_110.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ int data_cache_hits = 0;
1212
int linearize(int x,int y,int bndx,int bndy)
1313
{
1414

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

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

2727
#pragma UNEXPRESSED

filter/samples/sample_111.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
2424
#pragma UNEXPRESSED
2525
for (int x = 0; x < N; x++) {
2626

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

3030
#pragma UNEXPRESSED

filter/samples/sample_112.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ void apply_filter(double *kernel,double *data,double *result,const int N,const i
3535
#pragma UNEXPRESSED
3636
for (int j = 0; j < M; j++) {
3737

38-
#pragma HLS PIPELINE II=14 enable_flush rewind
38+
#pragma HLS PIPELINE II=14 rewind
3939
double weight = kernel[linearize(i,j,M,M)];
4040
int target = linearize(x + i,y + j,N,N);
4141
if (target < 0)

0 commit comments

Comments
 (0)