Skip to content

Commit

Permalink
Whitespace changes to old test drivers.
Browse files Browse the repository at this point in the history
Details:
- Replaced tabs with four spaces in places where indention was already
  in place.
  • Loading branch information
fgvanzee committed Jun 6, 2013
1 parent 9feb4c2 commit f1aa6b8
Show file tree
Hide file tree
Showing 20 changed files with 73 additions and 72 deletions.
9 changes: 5 additions & 4 deletions testsuite/src/test_gemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,19 +158,20 @@ void libblis_test_gemm_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, transa,
sc_str[0], m, k, &a );
sc_str[0], m, k, &a );
libblis_test_mobj_create( params, datatype, transb,
sc_str[1], k, n, &b );
sc_str[1], k, n, &b );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &c );
sc_str[2], m, n, &c );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &c_save );
sc_str[2], m, n, &c_save );

// Set alpha and beta.
if ( bli_obj_is_real( c ) )
{
bli_setsc( 1.2, 0.0, &alpha );
bli_setsc( -1.0, 0.0, &beta );
//bli_setsc( 0.0, 0.0, &beta );
}
else
{
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_gemv.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ void libblis_test_gemv_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, transa,
sc_str[0], m, n, &a );
sc_str[0], m, n, &a );
libblis_test_vobj_create( params, datatype,
sc_str[1], n, &x );
sc_str[1], n, &x );
libblis_test_vobj_create( params, datatype,
sc_str[2], m, &y );
sc_str[2], m, &y );
libblis_test_vobj_create( params, datatype,
sc_str[2], m, &y_save );
sc_str[2], m, &y_save );

// Set alpha and beta.
if ( bli_obj_is_real( y ) )
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_ger.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,13 @@ void libblis_test_ger_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_vobj_create( params, datatype,
sc_str[0], m, &x );
sc_str[0], m, &x );
libblis_test_vobj_create( params, datatype,
sc_str[1], n, &y );
sc_str[1], n, &y );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &a );
sc_str[2], m, n, &a );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &a_save );
sc_str[2], m, n, &a_save );

// Set alpha.
if ( bli_obj_is_real( a ) )
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_hemm.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ void libblis_test_hemm_experiment( test_params_t* params,
// Create test operands (vectors and/or matrices).
bli_set_dim_with_side( side, m, n, mn_side );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[0], mn_side, mn_side, &a );
sc_str[0], mn_side, mn_side, &a );
libblis_test_mobj_create( params, datatype, transb,
sc_str[1], m, n, &b );
sc_str[1], m, n, &b );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &c );
sc_str[2], m, n, &c );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &c_save );
sc_str[2], m, n, &c_save );

// Set alpha and beta.
if ( bli_obj_is_real( c ) )
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_hemv.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ void libblis_test_hemv_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[0], m, m, &a );
sc_str[0], m, m, &a );
libblis_test_vobj_create( params, datatype,
sc_str[1], m, &x );
sc_str[1], m, &x );
libblis_test_vobj_create( params, datatype,
sc_str[2], m, &y );
sc_str[2], m, &y );
libblis_test_vobj_create( params, datatype,
sc_str[2], m, &y_save );
sc_str[2], m, &y_save );

// Set alpha and beta.
if ( bli_obj_is_real( y ) )
Expand Down
6 changes: 3 additions & 3 deletions testsuite/src/test_her.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ void libblis_test_her_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_vobj_create( params, datatype,
sc_str[0], m, &x );
sc_str[0], m, &x );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, m, &a );
sc_str[1], m, m, &a );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, m, &a_save );
sc_str[1], m, m, &a_save );

// Set alpha.
//bli_copysc( &BLIS_MINUS_ONE, &alpha );
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_her2.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ void libblis_test_her2_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_vobj_create( params, datatype,
sc_str[0], m, &x );
sc_str[0], m, &x );
libblis_test_vobj_create( params, datatype,
sc_str[1], m, &y );
sc_str[1], m, &y );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, m, &a );
sc_str[2], m, m, &a );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, m, &a_save );
sc_str[2], m, m, &a_save );

// Set alpha.
//bli_copysc( &BLIS_MINUS_ONE, &alpha );
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_her2k.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ void libblis_test_her2k_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, transa,
sc_str[0], m, k, &a );
sc_str[0], m, k, &a );
libblis_test_mobj_create( params, datatype, transb,
sc_str[1], m, k, &b );
sc_str[1], m, k, &b );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, m, &c );
sc_str[2], m, m, &c );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, m, &c_save );
sc_str[2], m, m, &c_save );

// Set alpha and beta.
if ( bli_obj_is_real( c ) )
Expand Down
6 changes: 3 additions & 3 deletions testsuite/src/test_herk.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ void libblis_test_herk_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, transa,
sc_str[0], m, k, &a );
sc_str[0], m, k, &a );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, m, &c );
sc_str[1], m, m, &c );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, m, &c_save );
sc_str[1], m, m, &c_save );

// Set alpha and beta.
if ( bli_obj_is_real( c ) )
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_symm.c
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ void libblis_test_symm_experiment( test_params_t* params,
// Create test operands (vectors and/or matrices).
bli_set_dim_with_side( side, m, n, mn_side );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[0], mn_side, mn_side, &a );
sc_str[0], mn_side, mn_side, &a );
libblis_test_mobj_create( params, datatype, transb,
sc_str[1], m, n, &b );
sc_str[1], m, n, &b );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &c );
sc_str[2], m, n, &c );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &c_save );
sc_str[2], m, n, &c_save );

// Set alpha and beta.
if ( bli_obj_is_real( c ) )
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_symv.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,13 @@ void libblis_test_symv_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[0], m, m, &a );
sc_str[0], m, m, &a );
libblis_test_vobj_create( params, datatype,
sc_str[1], m, &x );
sc_str[1], m, &x );
libblis_test_vobj_create( params, datatype,
sc_str[2], m, &y );
sc_str[2], m, &y );
libblis_test_vobj_create( params, datatype,
sc_str[2], m, &y_save );
sc_str[2], m, &y_save );

// Set alpha and beta.
if ( bli_obj_is_real( y ) )
Expand Down
6 changes: 3 additions & 3 deletions testsuite/src/test_syr.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ void libblis_test_syr_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_vobj_create( params, datatype,
sc_str[0], m, &x );
sc_str[0], m, &x );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, m, &a );
sc_str[1], m, m, &a );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, m, &a_save );
sc_str[1], m, m, &a_save );

// Set alpha.
//bli_copysc( &BLIS_MINUS_ONE, &alpha );
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_syr2.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@ void libblis_test_syr2_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_vobj_create( params, datatype,
sc_str[0], m, &x );
sc_str[0], m, &x );
libblis_test_vobj_create( params, datatype,
sc_str[1], m, &y );
sc_str[1], m, &y );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, m, &a );
sc_str[2], m, m, &a );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, m, &a_save );
sc_str[2], m, m, &a_save );

// Set alpha.
//bli_copysc( &BLIS_MINUS_ONE, &alpha );
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_syr2k.c
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ void libblis_test_syr2k_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, transa,
sc_str[0], m, k, &a );
sc_str[0], m, k, &a );
libblis_test_mobj_create( params, datatype, transb,
sc_str[1], m, k, &b );
sc_str[1], m, k, &b );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, m, &c );
sc_str[2], m, m, &c );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, m, &c_save );
sc_str[2], m, m, &c_save );

// Set alpha and beta.
if ( bli_obj_is_real( c ) )
Expand Down
6 changes: 3 additions & 3 deletions testsuite/src/test_syrk.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ void libblis_test_syrk_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, transa,
sc_str[0], m, k, &a );
sc_str[0], m, k, &a );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, m, &c );
sc_str[1], m, m, &c );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, m, &c_save );
sc_str[1], m, m, &c_save );

// Set alpha and beta.
if ( bli_obj_is_real( c ) )
Expand Down
6 changes: 3 additions & 3 deletions testsuite/src/test_trmm.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ void libblis_test_trmm_experiment( test_params_t* params,
// Create test operands (vectors and/or matrices).
bli_set_dim_with_side( side, m, n, mn_side );
libblis_test_mobj_create( params, datatype, transa,
sc_str[0], mn_side, mn_side, &a );
sc_str[0], mn_side, mn_side, &a );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, n, &b );
sc_str[1], m, n, &b );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, n, &b_save );
sc_str[1], m, n, &b_save );

// Set alpha and beta.
if ( bli_obj_is_real( b ) )
Expand Down
8 changes: 4 additions & 4 deletions testsuite/src/test_trmm3.c
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,13 @@ void libblis_test_trmm3_experiment( test_params_t* params,
// Create test operands (vectors and/or matrices).
bli_set_dim_with_side( side, m, n, mn_side );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[0], mn_side, mn_side, &a );
sc_str[0], mn_side, mn_side, &a );
libblis_test_mobj_create( params, datatype, transb,
sc_str[1], m, n, &b );
sc_str[1], m, n, &b );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &c );
sc_str[2], m, n, &c );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[2], m, n, &c_save );
sc_str[2], m, n, &c_save );

// Set alpha and beta.
if ( bli_obj_is_real( c ) )
Expand Down
6 changes: 3 additions & 3 deletions testsuite/src/test_trmv.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ void libblis_test_trmv_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[0], m, m, &a );
sc_str[0], m, m, &a );
libblis_test_vobj_create( params, datatype,
sc_str[1], m, &x );
sc_str[1], m, &x );
libblis_test_vobj_create( params, datatype,
sc_str[1], m, &x_save );
sc_str[1], m, &x_save );

// Set alpha.
if ( bli_obj_is_real( x ) )
Expand Down
6 changes: 3 additions & 3 deletions testsuite/src/test_trsm.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,11 @@ void libblis_test_trsm_experiment( test_params_t* params,
// Create test operands (vectors and/or matrices).
bli_set_dim_with_side( side, m, n, mn_side );
libblis_test_mobj_create( params, datatype, transa,
sc_str[0], mn_side, mn_side, &a );
sc_str[0], mn_side, mn_side, &a );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, n, &b );
sc_str[1], m, n, &b );
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[1], m, n, &b_save );
sc_str[1], m, n, &b_save );

// Set alpha and beta.
if ( bli_obj_is_real( b ) )
Expand Down
6 changes: 3 additions & 3 deletions testsuite/src/test_trsv.c
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ void libblis_test_trsv_experiment( test_params_t* params,

// Create test operands (vectors and/or matrices).
libblis_test_mobj_create( params, datatype, BLIS_NO_TRANSPOSE,
sc_str[0], m, m, &a );
sc_str[0], m, m, &a );
libblis_test_vobj_create( params, datatype,
sc_str[1], m, &x );
sc_str[1], m, &x );
libblis_test_vobj_create( params, datatype,
sc_str[1], m, &x_save );
sc_str[1], m, &x_save );

// Set alpha.
if ( bli_obj_is_real( x ) )
Expand Down

0 comments on commit f1aa6b8

Please sign in to comment.