libflame
12600
|
Functions | |
void | FLASH_Axpyt_cntl_init () |
void | FLASH_Axpyt_cntl_finalize () |
Variables | |
fla_axpyt_t * | flash_axpyt_cntl_blas |
fla_axpyt_t * | flash_axpyt_cntl_tb |
fla_axpyt_t * | flash_axpyt_cntl_lr |
fla_axpyt_t * | flash_axpyt_cntl |
fla_blocksize_t * | flash_axpyt_bsize |
void FLASH_Axpyt_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flash().
void FLASH_Axpyt_cntl_init | ( | void | ) |
References FLA_Blocksize_create(), and FLA_Cntl_axpyt_obj_create().
Referenced by FLA_Cntl_init_flash().
{ // Set blocksize for hierarchical storage. flash_axpyt_bsize = FLA_Blocksize_create( 1, 1, 1, 1 ); // Create a control tree that assumes A and B are small. flash_axpyt_cntl_blas = FLA_Cntl_axpyt_obj_create( FLA_HIER, FLA_SUBPROBLEM, NULL, NULL ); // Create a control tree that marches through A and B vertically. flash_axpyt_cntl_tb = FLA_Cntl_axpyt_obj_create( FLA_HIER, FLA_BLOCKED_VARIANT1, flash_axpyt_bsize, flash_axpyt_cntl_blas ); // Create a control tree that marches through A and B horizontally. flash_axpyt_cntl_lr = FLA_Cntl_axpyt_obj_create( FLA_HIER, FLA_BLOCKED_VARIANT3, flash_axpyt_bsize, flash_axpyt_cntl_blas ); // Create a control tree that marches through A and B horizontally, then // vertically. flash_axpyt_cntl = FLA_Cntl_axpyt_obj_create( FLA_HIER, FLA_BLOCKED_VARIANT3, flash_axpyt_bsize, flash_axpyt_cntl_tb ); }
Referenced by FLA_Axpyt_internal().