libflame  12600
Functions | Variables
FLA_Ttmm_cntl_init.c File Reference

(r12600)

Functions

void FLA_Ttmm_cntl_init ()
void FLA_Ttmm_cntl_finalize ()

Variables

fla_gemm_tfla_gemm_cntl_blas
fla_herk_tfla_herk_cntl_blas
fla_trmm_tfla_trmm_cntl_blas
fla_ttmm_tfla_ttmm_cntl_leaf
fla_ttmm_tfla_ttmm_cntl
fla_blocksize_tfla_ttmm_var1_bsize

Function Documentation

void FLA_Ttmm_cntl_finalize ( void  )
void FLA_Ttmm_cntl_init ( void  )

References FLA_Cntl_ttmm_obj_create(), and FLA_Query_blocksizes().

Referenced by FLA_Cntl_init_flamec().

{
    // Set blocksize with default value for conventional storage.
    fla_ttmm_var1_bsize  = FLA_Query_blocksizes( FLA_DIMENSION_MIN );

    // Create a control tree to invoke LAPACK.
    fla_ttmm_cntl_leaf   = FLA_Cntl_ttmm_obj_create( FLA_FLAT,
#ifdef FLA_ENABLE_EXTERNAL_LAPACK_FOR_SUBPROBLEMS
                                                     FLA_BLOCKED_EXTERN, 
#else
                                                     FLA_UNB_OPT_VARIANT2,
#endif
                                                     NULL,
                                                     NULL,
                                                     NULL,
                                                     NULL,
                                                     NULL );

    // Create a control tree to invoke variant 1.
    fla_ttmm_cntl        = FLA_Cntl_ttmm_obj_create( FLA_FLAT,
                                                     FLA_BLOCKED_VARIANT1, 
                                                     fla_ttmm_var1_bsize,
                                                     fla_ttmm_cntl_leaf,
                                                     fla_herk_cntl_blas,
                                                     fla_trmm_cntl_blas,
                                                     fla_gemm_cntl_blas );
}

Variable Documentation

Referenced by FLA_Ttmm_internal().