|
libflame
12600
|
| void FLASH_Apply_Q_UT_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flash().
| void FLASH_Apply_Q_UT_cntl_init | ( | void | ) |
References FLA_Blocksize_create(), and FLA_Cntl_apqut_obj_create().
Referenced by FLA_Cntl_init_flash().
{
// Set blocksize for hierarchical storage.
flash_apqut_var1_bsize = FLA_Blocksize_create( 1, 1, 1, 1 );
flash_apqut_var2_bsize = FLA_Blocksize_create( 1, 1, 1, 1 );
// Create a control tree to dereference block operands and perform
// flat subproblem.
flash_apqut_cntl_leaf = FLA_Cntl_apqut_obj_create( FLA_HIER,
FLA_SUBPROBLEM,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL );
// Create a control tree to invoke variant 2 to further partition blocks.
flash_apqut_cntl = FLA_Cntl_apqut_obj_create( FLA_HIER,
FLA_BLOCKED_VARIANT2,
flash_apqut_var2_bsize,
flash_apqut_cntl_leaf,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL );
// Create a control tree to invoke variant 3, using hierarchical level-3
// BLAS control trees.
flash_apqut_cntl_blas = FLA_Cntl_apqut_obj_create( FLA_HIER,
FLA_BLOCKED_VARIANT3,
flash_apqut_var1_bsize,
NULL,
flash_trmm_cntl_bp,
flash_trmm_cntl_bp,
flash_gemm_cntl_pm,
flash_gemm_cntl_op,
flash_trsm_cntl_bp,
flash_copyt_cntl,
flash_axpyt_cntl );
}
1.7.6.1