libflame
12600
|
Functions | |
void | FLA_Hemm_cntl_init () |
void | FLA_Hemm_cntl_finalize () |
Variables | |
fla_scal_t * | fla_scal_cntl_blas |
fla_gemm_t * | fla_gemm_cntl_blas |
fla_hemm_t * | fla_hemm_cntl_blas |
fla_hemm_t * | fla_hemm_cntl_bp |
fla_hemm_t * | fla_hemm_cntl_mp |
fla_hemm_t * | fla_hemm_cntl_mm |
fla_blocksize_t * | fla_hemm_var1_bsize |
fla_blocksize_t * | fla_hemm_var9_bsize |
void FLA_Hemm_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flamec().
void FLA_Hemm_cntl_init | ( | void | ) |
References FLA_Cntl_hemm_obj_create(), and FLA_Query_blocksizes().
Referenced by FLA_Cntl_init_flamec().
{ // Set blocksizes with default values for conventional storage. fla_hemm_var1_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN ); fla_hemm_var9_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN ); // Create a control tree that assumes A and B are b x b blocks. fla_hemm_cntl_blas = FLA_Cntl_hemm_obj_create( FLA_FLAT, FLA_SUBPROBLEM, NULL, NULL, NULL, NULL, NULL ); // Create a control tree that assumes A is a block and B is a panel. fla_hemm_cntl_bp = FLA_Cntl_hemm_obj_create( FLA_FLAT, FLA_BLOCKED_VARIANT9, fla_hemm_var9_bsize, fla_scal_cntl_blas, fla_hemm_cntl_blas, NULL, NULL ); // Create a control tree that assumes A is large and B is a panel. fla_hemm_cntl_mp = FLA_Cntl_hemm_obj_create( FLA_FLAT, FLA_BLOCKED_VARIANT1, fla_hemm_var1_bsize, fla_scal_cntl_blas, fla_hemm_cntl_blas, fla_gemm_cntl_blas, fla_gemm_cntl_blas ); // Create a control tree that assumes A and B are both large. fla_hemm_cntl_mm = FLA_Cntl_hemm_obj_create( FLA_FLAT, FLA_BLOCKED_VARIANT9, fla_hemm_var9_bsize, fla_scal_cntl_blas, fla_hemm_cntl_mp, NULL, NULL ); }