|
libflame
12600
|
Functions | |
| void | FLA_Trmm_cntl_init () |
| void | FLA_Trmm_cntl_finalize () |
Variables | |
| fla_scal_t * | fla_scal_cntl_blas |
| fla_gemm_t * | fla_gemm_cntl_blas |
| fla_trmm_t * | fla_trmm_cntl_blas |
| fla_trmm_t * | fla_trmm_cntl_bp |
| fla_trmm_t * | fla_trmm_cntl_mp |
| fla_trmm_t * | fla_trmm_cntl_mm |
| fla_blocksize_t * | fla_trmm_var1_bsize |
| fla_blocksize_t * | fla_trmm_var3_bsize |
| void FLA_Trmm_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flamec().
| void FLA_Trmm_cntl_init | ( | void | ) |
References FLA_Cntl_trmm_obj_create(), and FLA_Query_blocksizes().
Referenced by FLA_Cntl_init_flamec().
{
// Set blocksizes with default values for conventional storage.
fla_trmm_var1_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN );
fla_trmm_var3_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN );
// Create a control tree that assumes A and B are b x b blocks.
fla_trmm_cntl_blas = FLA_Cntl_trmm_obj_create( FLA_FLAT,
FLA_SUBPROBLEM,
NULL,
NULL,
NULL,
NULL );
// Create a control tree that assumes A is a block and B is a panel.
fla_trmm_cntl_bp = FLA_Cntl_trmm_obj_create( FLA_FLAT,
FLA_BLOCKED_VARIANT3,
fla_trmm_var3_bsize,
fla_scal_cntl_blas,
fla_trmm_cntl_blas,
NULL );
// Create a control tree that assumes A is large and B is a panel.
fla_trmm_cntl_mp = FLA_Cntl_trmm_obj_create( FLA_FLAT,
FLA_BLOCKED_VARIANT1,
fla_trmm_var1_bsize,
fla_scal_cntl_blas,
fla_trmm_cntl_blas,
fla_gemm_cntl_blas );
// Create a control tree that assumes A and B are both large.
fla_trmm_cntl_mm = FLA_Cntl_trmm_obj_create( FLA_FLAT,
FLA_BLOCKED_VARIANT3,
fla_trmm_var3_bsize,
fla_scal_cntl_blas,
fla_trmm_cntl_mp,
NULL );
}
1.7.6.1