libflame  12600
Functions | Variables
FLASH_Chol_cntl_init.c File Reference

(r12600)

Functions

void FLASH_Chol_cntl_init ()
void FLASH_Chol_cntl_finalize ()

Variables

fla_herk_tflash_herk_cntl_op
fla_trsm_tflash_trsm_cntl_bp
fla_chol_tflash_chol_cntl_leaf
fla_chol_tflash_chol_cntl
fla_blocksize_tflash_chol_bsize

Function Documentation

void FLASH_Chol_cntl_finalize ( void  )
void FLASH_Chol_cntl_init ( void  )

References FLA_Blocksize_create(), and FLA_Cntl_chol_obj_create().

Referenced by FLA_Cntl_init_flash().

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

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

    // Create a control tree that assumes A is large.
    flash_chol_cntl        = FLA_Cntl_chol_obj_create( FLA_HIER,
                                                       FLA_BLOCKED_VARIANT3, 
                                                       flash_chol_bsize,
                                                       flash_chol_cntl_leaf,
                                                       flash_herk_cntl_op,
                                                       flash_trsm_cntl_bp,
                                                       NULL );
}

Variable Documentation