Skip to content

Commit

Permalink
Minor cleanup to standalone test drivers.
Browse files Browse the repository at this point in the history
Details:
- Very minor code changes to standalone test drivers in 'test' directory.
- Added *.so files to '.gitignore'.
  • Loading branch information
fgvanzee committed Jul 8, 2014
1 parent 6c65e9a commit caa6507
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 71 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# NOTE: This will result in git also exluding the top-level lib directory
# since its only contents are .a files.
*.a
*.so
# test executables
*.x
*.pexe
Expand Down
6 changes: 1 addition & 5 deletions test/test_gemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,7 @@ int main( int argc, char** argv )
#endif

#if 1
dt_a = BLIS_DOUBLE;
dt_b = BLIS_DOUBLE;
dt_c = BLIS_DOUBLE;
dt_alpha = BLIS_DOUBLE;
dt_beta = BLIS_DOUBLE;
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_DOUBLE;
#else
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_DCOMPLEX;
#endif
Expand Down
6 changes: 1 addition & 5 deletions test/test_gemv.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,7 @@ int main( int argc, char** argv )
n_input = 15;
#endif

dt_a = BLIS_DOUBLE;
dt_x = BLIS_DOUBLE;
dt_y = BLIS_DOUBLE;
dt_alpha = BLIS_DOUBLE;
dt_beta = BLIS_DOUBLE;
dt_a = dt_x = dt_y = dt_alpha = dt_beta = BLIS_DOUBLE;

for ( p = p_begin; p <= p_end; p += p_inc )
{
Expand Down
5 changes: 1 addition & 4 deletions test/test_ger.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,7 @@ int main( int argc, char** argv )
n_input = 15;
#endif

dt_alpha = BLIS_DOUBLE;
dt_x = BLIS_DOUBLE;
dt_y = BLIS_DOUBLE;
dt_a = BLIS_DOUBLE;
dt_alpha = dt_x = dt_y = dt_a = BLIS_DOUBLE;

for ( p = p_begin; p <= p_end; p += p_inc )
{
Expand Down
6 changes: 1 addition & 5 deletions test/test_hemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,7 @@ int main( int argc, char** argv )
#endif

#if 1
dt_a = BLIS_DOUBLE;
dt_b = BLIS_DOUBLE;
dt_c = BLIS_DOUBLE;
dt_alpha = BLIS_DOUBLE;
dt_beta = BLIS_DOUBLE;
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_DOUBLE;
#else
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_DCOMPLEX;
#endif
Expand Down
12 changes: 2 additions & 10 deletions test/test_hemv.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,9 @@ int main( int argc, char** argv )
#endif

#if 1
dt_a = BLIS_DOUBLE;
dt_x = BLIS_DOUBLE;
dt_y = BLIS_DOUBLE;
dt_alpha = BLIS_DOUBLE;
dt_beta = BLIS_DOUBLE;
dt_a = dt_x = dt_y = dt_alpha = dt_beta = BLIS_DOUBLE;
#else
dt_a = BLIS_DCOMPLEX;
dt_x = BLIS_DCOMPLEX;
dt_y = BLIS_DCOMPLEX;
dt_alpha = BLIS_DCOMPLEX;
dt_beta = BLIS_DCOMPLEX;
dt_a = dt_x = dt_y = dt_alpha = dt_beta = BLIS_DCOMPLEX;
#endif

uplo = BLIS_LOWER;
Expand Down
8 changes: 2 additions & 6 deletions test/test_her.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,9 @@ int main( int argc, char** argv )
#endif

#if 1
dt_alpha = BLIS_DOUBLE;
dt_x = BLIS_DOUBLE;
dt_a = BLIS_DOUBLE;
dt_alpha = dt_x = dt_a = BLIS_DOUBLE;
#else
dt_alpha = BLIS_DCOMPLEX;
dt_x = BLIS_DCOMPLEX;
dt_a = BLIS_DCOMPLEX;
dt_alpha = dt_x = dt_a = BLIS_DCOMPLEX;
#endif

uplo = BLIS_LOWER;
Expand Down
10 changes: 2 additions & 8 deletions test/test_her2.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,15 +77,9 @@ int main( int argc, char** argv )
#endif

#if 1
dt_alpha = BLIS_DOUBLE;
dt_x = BLIS_DOUBLE;
dt_y = BLIS_DOUBLE;
dt_a = BLIS_DOUBLE;
dt_alpha = dt_x = dt_y = dt_a = BLIS_DOUBLE;
#else
dt_alpha = BLIS_DCOMPLEX;
dt_x = BLIS_DCOMPLEX;
dt_y = BLIS_DCOMPLEX;
dt_a = BLIS_DCOMPLEX;
dt_alpha = dt_x = dt_y = dt_a = BLIS_DCOMPLEX;
#endif

uplo = BLIS_LOWER;
Expand Down
6 changes: 1 addition & 5 deletions test/test_her2k.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,7 @@ int main( int argc, char** argv )
k_input = 10;
#endif

dt_a = BLIS_DOUBLE;
dt_b = BLIS_DOUBLE;
dt_c = BLIS_DOUBLE;
dt_alpha = BLIS_DOUBLE;
dt_beta = BLIS_DOUBLE;
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_DOUBLE;

uplo = BLIS_LOWER;

Expand Down
5 changes: 1 addition & 4 deletions test/test_herk.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ int main( int argc, char** argv )
k_input = 13;
#endif

dt_a = BLIS_DOUBLE;
dt_c = BLIS_DOUBLE;
dt_alpha = BLIS_DOUBLE;
dt_beta = BLIS_DOUBLE;
dt_a = dt_c = dt_alpha = dt_beta = BLIS_DOUBLE;

uplo = BLIS_LOWER;

Expand Down
6 changes: 1 addition & 5 deletions test/test_trmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,7 @@ int main( int argc, char** argv )
#endif

#if 1
dt_a = BLIS_DOUBLE;
dt_b = BLIS_DOUBLE;
dt_c = BLIS_DOUBLE;
dt_alpha = BLIS_DOUBLE;
dt_beta = BLIS_DOUBLE;
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_DOUBLE;
#else
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_DCOMPLEX;
#endif
Expand Down
4 changes: 1 addition & 3 deletions test/test_trmv.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ int main( int argc, char** argv )
n_input = 15;
#endif

dt_alpha = BLIS_DOUBLE;
dt_a = BLIS_DOUBLE;
dt_x = BLIS_DOUBLE;
dt_alpha = dt_a = dt_x = BLIS_DOUBLE;

uplo = BLIS_LOWER;

Expand Down
11 changes: 3 additions & 8 deletions test/test_trsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,10 @@ int main( int argc, char** argv )
n_input = 4 ;
#endif

#if 0
dt_a = BLIS_DOUBLE;
dt_b = BLIS_DOUBLE;
dt_c = BLIS_DOUBLE;
dt_alpha = BLIS_DOUBLE;
dt_beta = BLIS_DOUBLE;
#if 1
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_DOUBLE;
#else
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_FLOAT;
//dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_SCOMPLEX;
dt_a = dt_b = dt_c = dt_alpha = dt_beta = BLIS_DCOMPLEX;
#endif

side = BLIS_LEFT;
Expand Down
4 changes: 1 addition & 3 deletions test/test_trsv.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ int main( int argc, char** argv )
n_input = 15;
#endif

dt_alpha = BLIS_DOUBLE;
dt_a = BLIS_DOUBLE;
dt_x = BLIS_DOUBLE;
dt_alpha = dt_a = dt_x = BLIS_DOUBLE;

uplo = BLIS_LOWER;

Expand Down

0 comments on commit caa6507

Please sign in to comment.