libflame  12600
Functions | Variables
FLASH_SPDinv_cntl_init.c File Reference

(r12600)

Functions

void FLASH_SPDinv_cntl_init ()
void FLASH_SPDinv_cntl_finalize ()

Variables

fla_chol_tflash_chol_cntl
fla_trinv_tflash_trinv_cntl
fla_ttmm_tflash_ttmm_cntl
fla_spdinv_tflash_spdinv_cntl
fla_blocksize_tflash_spdinv_size_cutoff

Function Documentation

void FLASH_SPDinv_cntl_finalize ( void  )
void FLASH_SPDinv_cntl_init ( void  )

References FLA_Cntl_spdinv_obj_create(), and FLA_Query_blocksizes().

Referenced by FLA_Cntl_init_flash().

{
    // Rather than embed a blocksize, we store the cutoff matrix size for
    // switching from external routines to internal FLAME variants.
    flash_spdinv_size_cutoff = FLA_Query_blocksizes( FLA_DIMENSION_MIN );

    // Initialize a control tree node that calls the top-level Cholesky
    // factorization, Trinagular inversion, and Triangular-transpose matrix
    // multiply control trees. 
    flash_spdinv_cntl        = FLA_Cntl_spdinv_obj_create( FLA_HIER,
                                                           FLA_BLOCKED_VARIANT1, 
                                                           flash_spdinv_size_cutoff,
                                                           flash_chol_cntl,
                                                           flash_trinv_cntl,
                                                           flash_ttmm_cntl );
}

Variable Documentation