libflame
12600
|
void FLA_CAQR2_UT_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flamec().
void FLA_CAQR2_UT_cntl_init | ( | void | ) |
References FLA_Blocksize_scale(), FLA_Cntl_caqr2ut_obj_create(), and FLA_Query_blocksizes().
Referenced by FLA_Cntl_init_flamec().
{ // Set the blocksize to the default value for conventional storage, // but scaled down. fla_caqr2ut_var1_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN ); FLA_Blocksize_scale( fla_caqr2ut_var1_bsize, FLA_CAQR_INNER_TO_OUTER_B_RATIO ); // Create a control tree to invoke unblocked variant 1. fla_caqr2ut_cntl_unb = FLA_Cntl_caqr2ut_obj_create( FLA_FLAT, //FLA_UNBLOCKED_VARIANT1, FLA_UNB_OPT_VARIANT1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL ); // Create a control tree for small-to-medium sequential problems and // as the means to compute on FLASH blocks. fla_caqr2ut_cntl_leaf = FLA_Cntl_caqr2ut_obj_create( FLA_FLAT, FLA_BLOCKED_VARIANT1, fla_caqr2ut_var1_bsize, fla_caqr2ut_cntl_unb, fla_gemm_cntl_blas, fla_gemm_cntl_blas, fla_trmm_cntl_blas, fla_trmm_cntl_blas, fla_trsm_cntl_blas, fla_axpy_cntl_blas, fla_axpy_cntl_blas, fla_axpy_cntl_blas, fla_copy_cntl_blas ); }
Referenced by FLA_CAQR2_UT_internal().