libflame
12600
|
void FLA_Apply_Q_UT_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flamec().
{ FLA_Cntl_obj_free( fla_apqut_cntl_leaf ); /* FLA_Cntl_obj_free( fla_apqut_cntl ); */ FLA_Blocksize_free( fla_apqut_var1_bsize ); FLA_Blocksize_free( fla_apqut_var2_bsize ); }
void FLA_Apply_Q_UT_cntl_init | ( | void | ) |
References FLA_Blocksize_scale(), FLA_Cntl_apqut_obj_create(), and FLA_Query_blocksizes().
Referenced by FLA_Cntl_init_flamec().
{ // Set the outer blocksize to the default value for conventional storage, // and the inner blocksize to the same value but scaled down. fla_apqut_var2_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN ); fla_apqut_var1_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN ); FLA_Blocksize_scale( fla_apqut_var1_bsize, FLA_QR_INNER_TO_OUTER_B_RATIO ); // Create a control tree to invoke variant 1. fla_apqut_cntl_leaf = FLA_Cntl_apqut_obj_create( FLA_FLAT, FLA_BLOCKED_VARIANT1, fla_apqut_var1_bsize, NULL, fla_trmm_cntl_blas, fla_trmm_cntl_blas, fla_gemm_cntl_blas, fla_gemm_cntl_blas, fla_trsm_cntl_blas, fla_copyt_cntl_blas, fla_axpyt_cntl_blas ); /* // Create a control tree to invoke variant 2. fla_apqut_cntl = FLA_Cntl_apqut_obj_create( FLA_FLAT, FLA_BLOCKED_VARIANT2, fla_apqut_var2_bsize, fla_apqut_cntl_leaf, NULL, NULL, NULL, NULL, NULL, NULL, NULL ); */ }
Referenced by FLA_Apply_Q_UT_internal().