libflame  12600
Functions | Variables
FLASH_Trinv_cntl_init.c File Reference

(r12600)

Functions

void FLASH_Trinv_cntl_init ()
void FLASH_Trinv_cntl_finalize ()

Variables

fla_gemm_tflash_gemm_cntl_op_bp
fla_trsm_tflash_trsm_cntl_bp
fla_trinv_tflash_trinv_cntl_leaf
fla_trinv_tflash_trinv_cntl
fla_blocksize_tflash_trinv_bsize

Function Documentation

void FLASH_Trinv_cntl_finalize ( void  )
void FLASH_Trinv_cntl_init ( void  )

References FLA_Blocksize_create(), and FLA_Cntl_trinv_obj_create().

Referenced by FLA_Cntl_init_flash().

{
    // Set blocksize for hierarchical storage.
    flash_trinv_bsize       = FLA_Blocksize_create( 1, 1, 1, 1 );

    // Create a control tree that assumes A is a b x b block.
    flash_trinv_cntl_leaf   = FLA_Cntl_trinv_obj_create( FLA_HIER,
                                                         FLA_SUBPROBLEM,
                                                         NULL,
                                                         NULL,
                                                         NULL,
                                                         NULL,
                                                         NULL,
                                                         NULL );

    // Create a control tree that assumes A is large.
    flash_trinv_cntl        = FLA_Cntl_trinv_obj_create( FLA_HIER,
                                                         FLA_BLOCKED_VARIANT3, 
                                                         flash_trinv_bsize,
                                                         flash_trinv_cntl_leaf,
                                                         NULL,
                                                         flash_trsm_cntl_bp,
                                                         flash_trsm_cntl_bp,
                                                         flash_gemm_cntl_op_bp );
}

Variable Documentation