|
libflame
12600
|
Functions | |
| void | FLASH_Trmm_cntl_init () |
| void | FLASH_Trmm_cntl_finalize () |
Variables | |
| fla_scal_t * | flash_scal_cntl |
| fla_gemm_t * | flash_gemm_cntl_op_bp |
| fla_trmm_t * | flash_trmm_cntl_blas |
| fla_trmm_t * | flash_trmm_cntl_bp |
| fla_trmm_t * | flash_trmm_cntl_mp |
| fla_trmm_t * | flash_trmm_cntl_mm |
| fla_blocksize_t * | flash_trmm_bsize |
| void FLASH_Trmm_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flash().
| void FLASH_Trmm_cntl_init | ( | void | ) |
References FLA_Blocksize_create(), and FLA_Cntl_trmm_obj_create().
Referenced by FLA_Cntl_init_flash().
{
// Set trmm blocksize for hierarchical storage.
flash_trmm_bsize = FLA_Blocksize_create( 1, 1, 1, 1 );
// Create a control tree that assumes A and B are b x b blocks.
flash_trmm_cntl_blas = FLA_Cntl_trmm_obj_create( FLA_HIER,
FLA_SUBPROBLEM,
NULL,
NULL,
NULL,
NULL );
// Create a control tree that assumes A is a block and B is a panel.
flash_trmm_cntl_bp = FLA_Cntl_trmm_obj_create( FLA_HIER,
FLA_BLOCKED_VARIANT3,
flash_trmm_bsize,
flash_scal_cntl,
flash_trmm_cntl_blas,
NULL );
// Create a control tree that assumes A is large and B is a panel.
flash_trmm_cntl_mp = FLA_Cntl_trmm_obj_create( FLA_HIER,
FLA_BLOCKED_VARIANT2,
flash_trmm_bsize,
flash_scal_cntl,
flash_trmm_cntl_blas,
flash_gemm_cntl_op_bp );
// Create a control tree that assumes A and B are both large.
flash_trmm_cntl_mm = FLA_Cntl_trmm_obj_create( FLA_HIER,
FLA_BLOCKED_VARIANT3,
flash_trmm_bsize,
flash_scal_cntl,
flash_trmm_cntl_mp,
NULL );
}
Referenced by FLA_Trmm_internal().
1.7.6.1