Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8e38a1af authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

testings: replace new random by testing_ialea

parent 5644ac63
No related branches found
No related tags found
1 merge request!468Many minor hotfix issued from the mixed precision branch
......@@ -48,9 +48,9 @@ testing_zgemm_batch_desc( run_arg_list_t *args, int check )
int K = run_arg_get_int( args, "K", N );
CHAMELEON_Complex64_t alpha = testing_zalea();
CHAMELEON_Complex64_t beta = testing_zalea();
int seedA = run_arg_get_int( args, "seedA", random() );
int seedB = run_arg_get_int( args, "seedB", random() );
int seedC = run_arg_get_int( args, "seedC", random() );
int seedA = run_arg_get_int( args, "seedA", testing_ialea() );
int seedB = run_arg_get_int( args, "seedB", testing_ialea() );
int seedC = run_arg_get_int( args, "seedC", testing_ialea() );
/* Descriptors */
int Am, An, Bm, Bn;
......
......@@ -48,8 +48,8 @@ testing_zherk_batch_desc( run_arg_list_t *args, int check )
double alpha = testing_dalea();
double beta = testing_dalea();
double bump = 0.;
int seedA = run_arg_get_int( args, "seedA", random() );
int seedC = run_arg_get_int( args, "seedC", random() );
int seedA = run_arg_get_int( args, "seedA", testing_ialea() );
int seedC = run_arg_get_int( args, "seedC", testing_ialea() );
/* Descriptors */
int Am, An;
......
......@@ -43,7 +43,7 @@ testing_zpotrf_batch_desc( run_arg_list_t *args, int check )
int P = parameters_getvalue_int( "P" );
cham_uplo_t uplo = run_arg_get_uplo( args, "uplo", ChamUpper );
int N = run_arg_get_int( args, "N", 320 );
int seedA = run_arg_get_int( args, "seedA", random() );
int seedA = run_arg_get_int( args, "seedA", testing_ialea() );
int Q = parameters_compute_q( P );
/* Descriptors */
......
......@@ -48,8 +48,8 @@ testing_ztrsm_batch_desc( run_arg_list_t *args, int check )
int N = run_arg_get_int( args, "N", 320 );
int M = run_arg_get_int( args, "M", N );
CHAMELEON_Complex64_t alpha = testing_zalea();
int seedA = run_arg_get_int( args, "seedA", random() );
int seedB = run_arg_get_int( args, "seedB", random() );
int seedA = run_arg_get_int( args, "seedA", testing_ialea() );
int seedB = run_arg_get_int( args, "seedB", testing_ialea() );
/* Descriptors */
int Am, An, Bm, Bn;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment