mirror of
https://github.com/amd/blis.git
synced 2026-05-11 17:50:00 +00:00
More updates to comments in testsuite modules.
Details: - Updated most comments in testsuite modules that describe how the correctness test is performed so that it is clear whether the vector (normfv) or matrix (normfm) form of Frobenius norm is used.
This commit is contained in:
committed by
Devrajegowda, Kiran
parent
b3974dafac
commit
0e3f0ce634
@@ -275,7 +275,7 @@ void libblis_test_addm_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normfv(y) - sqrt( absqsc( beta + conjx(alpha) ) * m * n )
|
||||
// normfm(y) - sqrt( absqsc( beta + conjx(alpha) ) * m * n )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
@@ -296,7 +296,7 @@ void libblis_test_axpbyv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - ( beta * y_orig + alpha * conjx(x) ) )
|
||||
// normfv( y - ( beta * y_orig + alpha * conjx(x) ) )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
@@ -314,7 +314,7 @@ void libblis_test_axpy2v_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( z - v )
|
||||
// normfv( z - v )
|
||||
//
|
||||
// is negligible, where v contains z as computed by two calls to axpyv.
|
||||
//
|
||||
|
||||
@@ -319,7 +319,7 @@ void libblis_test_axpyf_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - v )
|
||||
// normfv( y - v )
|
||||
//
|
||||
// is negligible, where v contains y as computed by repeated calls to
|
||||
// axpyv.
|
||||
|
||||
@@ -289,7 +289,7 @@ void libblis_test_axpym_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - ( y_orig + alpha * conjx(x) ) )
|
||||
// normfm( y - ( y_orig + alpha * conjx(x) ) )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
@@ -286,7 +286,7 @@ void libblis_test_axpyv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - ( y_orig + alpha * conjx(x) ) )
|
||||
// normfv( y - ( y_orig + alpha * conjx(x) ) )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
@@ -345,7 +345,7 @@ void libblis_test_dotaxpyv_check
|
||||
//
|
||||
// and
|
||||
//
|
||||
// normf( z - z_temp )
|
||||
// normfv( z - z_temp )
|
||||
//
|
||||
// are negligible, where rho_temp and z_temp contain rho and z as
|
||||
// computed by dotv and axpyv, respectively.
|
||||
|
||||
@@ -278,7 +278,7 @@ void libblis_test_dotv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// sqrtsc( rho.real ) - normf( x )
|
||||
// sqrtsc( rho.real ) - normfv( x )
|
||||
//
|
||||
// and
|
||||
//
|
||||
|
||||
@@ -366,11 +366,11 @@ void libblis_test_dotxaxpyf_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - v )
|
||||
// normfv( y - v )
|
||||
//
|
||||
// and
|
||||
//
|
||||
// normf( z - q )
|
||||
// normfv( z - q )
|
||||
//
|
||||
// are negligible, where v and q contain y and z as computed by repeated
|
||||
// calls to dotxv and axpyv, respectively.
|
||||
|
||||
@@ -324,7 +324,7 @@ void libblis_test_dotxf_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - v )
|
||||
// normfv( y - v )
|
||||
//
|
||||
// is negligible, where v contains y as computed by repeated calls to
|
||||
// dotxv.
|
||||
|
||||
@@ -304,7 +304,7 @@ void libblis_test_dotxv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// sqrtsc( rho.real ) - sqrtsc( alpha ) * normf( x )
|
||||
// sqrtsc( rho.real ) - sqrtsc( alpha ) * normfv( x )
|
||||
//
|
||||
// and
|
||||
//
|
||||
|
||||
@@ -625,7 +625,7 @@ void libblis_test_gemm_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -390,7 +390,7 @@ void libblis_test_gemm_ukr_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -465,7 +465,7 @@ void libblis_test_gemmtrsm_ukr_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -324,7 +324,7 @@ void libblis_test_gemv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - z )
|
||||
// normfv( y - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -303,7 +303,7 @@ void libblis_test_ger_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - w )
|
||||
// normfv( v - w )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -338,7 +338,7 @@ void libblis_test_hemm_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -322,7 +322,7 @@ void libblis_test_hemv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - v )
|
||||
// normfv( y - v )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -301,7 +301,7 @@ void libblis_test_her_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - w )
|
||||
// normfv( v - w )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -311,7 +311,7 @@ void libblis_test_her2_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - w )
|
||||
// normfv( v - w )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -336,7 +336,7 @@ void libblis_test_her2k_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -323,7 +323,7 @@ void libblis_test_herk_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -259,7 +259,7 @@ void libblis_test_normfm_check
|
||||
//
|
||||
// Under these conditions, we assume that the implementation for
|
||||
//
|
||||
// norm := normf( x )
|
||||
// norm := normfm( x )
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
|
||||
@@ -256,7 +256,7 @@ void libblis_test_normfv_check
|
||||
//
|
||||
// Under these conditions, we assume that the implementation for
|
||||
//
|
||||
// norm := normf( x )
|
||||
// norm := normfv( x )
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
|
||||
@@ -288,7 +288,7 @@ void libblis_test_scal2m_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - alpha * conjx(x) )
|
||||
// normfm( y - alpha * conjx(x) )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
@@ -285,7 +285,7 @@ void libblis_test_scal2v_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - alpha * conjx(x) )
|
||||
// normfv( y - alpha * conjx(x) )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
@@ -280,7 +280,7 @@ void libblis_test_scalm_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y + -conjbeta(beta) * y_orig )
|
||||
// normfm( y + -conjbeta(beta) * y_orig )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
@@ -276,7 +276,7 @@ void libblis_test_scalv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y + -conjbeta(beta) * y_orig )
|
||||
// normfv( y + -conjbeta(beta) * y_orig )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
@@ -338,7 +338,7 @@ void libblis_test_symm_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -322,7 +322,7 @@ void libblis_test_symv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - v )
|
||||
// normfv( y - v )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -301,7 +301,7 @@ void libblis_test_syr_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - w )
|
||||
// normfv( v - w )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -313,7 +313,7 @@ void libblis_test_syr2_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - w )
|
||||
// normfv( v - w )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -335,7 +335,7 @@ void libblis_test_syr2k_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -324,7 +324,7 @@ void libblis_test_syrk_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -320,7 +320,7 @@ void libblis_test_trmm_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -339,7 +339,7 @@ void libblis_test_trmm3_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -304,7 +304,7 @@ void libblis_test_trmv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - x )
|
||||
// normfv( y - x )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -327,7 +327,7 @@ void libblis_test_trsm_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -401,7 +401,7 @@ void libblis_test_trsm_ukr_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( v - z )
|
||||
// normfv( v - z )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -305,7 +305,7 @@ void libblis_test_trsv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - x_orig )
|
||||
// normfv( y - x_orig )
|
||||
//
|
||||
// is negligible, where
|
||||
//
|
||||
|
||||
@@ -288,7 +288,7 @@ void libblis_test_xpbym_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - ( beta * y_orig + conjx(x) ) )
|
||||
// normfm( y - ( beta * y_orig + conjx(x) ) )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
@@ -283,7 +283,7 @@ void libblis_test_xpbyv_check
|
||||
//
|
||||
// is functioning correctly if
|
||||
//
|
||||
// normf( y - ( beta * y_orig + conjx(x) ) )
|
||||
// normfv( y - ( beta * y_orig + conjx(x) ) )
|
||||
//
|
||||
// is negligible.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user