FLA_LQ_UT_cntl_init.c File Reference

(r)


Functions

void FLA_LQ_UT_cntl_init ()
void FLA_LQ_UT_cntl_finalize ()

Variables

fla_gemm_tfla_gemm_cntl_blas
fla_trmm_tfla_trmm_cntl_blas
fla_trsm_tfla_trsm_cntl_blas
fla_copy_tfla_copy_cntl_blas
fla_axpy_tfla_axpy_cntl_blas
fla_lqut_tfla_lqut_cntl_unb
fla_lqut_tfla_lqut_cntl_leaf
fla_blocksize_tfla_lqut_var2_bsize_leaf

Function Documentation

void FLA_LQ_UT_cntl_finalize ( void   ) 

void FLA_LQ_UT_cntl_init ( void   ) 

References FLA_Blocksize_scale(), FLA_Cntl_lqut_obj_create(), and FLA_Query_blocksizes().

Referenced by FLA_Cntl_init_flamec().

00047 {
00048     // Set blocksizes with default values for conventional storage.
00049     fla_lqut_var2_bsize_leaf = FLA_Query_blocksizes( FLA_DIMENSION_MIN );
00050     FLA_Blocksize_scale( fla_lqut_var2_bsize_leaf, FLA_LQ_INNER_TO_OUTER_B_RATIO );
00051 
00052     // Create a control tree to invoke unblocked variant 1.
00053     fla_lqut_cntl_unb  = FLA_Cntl_lqut_obj_create( FLA_FLAT,
00054                                                    //FLA_UNBLOCKED_VARIANT1,
00055                                                    //FLA_UNB_OPT_VARIANT1,
00056                                                    FLA_SUBPROBLEM,
00057                                                    NULL,
00058                                                    NULL,
00059                                                    NULL,
00060                                                    NULL,
00061                                                    NULL,
00062                                                    NULL,
00063                                                    NULL,
00064                                                    NULL,
00065                                                    NULL );
00066 
00067     // Create a control tree for small-to-medium sequential problems and
00068     // as the means to compute on FLASH blocks.
00069     fla_lqut_cntl_leaf = FLA_Cntl_lqut_obj_create( FLA_FLAT, 
00070                                                    FLA_BLOCKED_VARIANT2,
00071                                                    fla_lqut_var2_bsize_leaf,
00072                                                    fla_lqut_cntl_unb,
00073                                                    fla_trmm_cntl_blas,
00074                                                    fla_trmm_cntl_blas,
00075                                                    fla_gemm_cntl_blas,
00076                                                    fla_gemm_cntl_blas,
00077                                                    fla_trsm_cntl_blas,
00078                                                    fla_copy_cntl_blas,
00079                                                    fla_axpy_cntl_blas );
00080 }


Variable Documentation


Generated on Mon Jul 6 05:45:51 2009 for libflame by  doxygen 1.5.9