libflame  12600
Functions | Variables
FLASH_LU_piv_cntl_init.c File Reference

(r12600)

Functions

void FLASH_LU_piv_cntl_init ()
void FLASH_LU_piv_cntl_finalize ()

Variables

fla_gemm_tflash_gemm_cntl_op_bp
fla_trsm_tflash_trsm_cntl_bp
fla_appiv_tflash_appiv_cntl_bp
fla_lu_tflash_lu_piv_cntl_leaf
fla_lu_tflash_lu_piv_cntl
fla_blocksize_tflash_lu_piv_bsize

Function Documentation

void FLASH_LU_piv_cntl_finalize ( void  )
void FLASH_LU_piv_cntl_init ( void  )

References FLA_Blocksize_create(), and FLA_Cntl_lu_obj_create().

Referenced by FLA_Cntl_init_flash().

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

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

    // Create a control tree that assumes A is large.
    flash_lu_piv_cntl        = FLA_Cntl_lu_obj_create( FLA_HIER,
                                                       FLA_BLOCKED_VARIANT5,
                                                       flash_lu_piv_bsize,
                                                       flash_lu_piv_cntl_leaf,
                                                       flash_gemm_cntl_op_bp,
                                                       NULL,
                                                       NULL,
                                                       flash_trsm_cntl_bp,
                                                       flash_trsm_cntl_bp,
                                                       flash_appiv_cntl_bp,
                                                       NULL );
}

Variable Documentation