|
libflame
12600
|
| void FLA_Eig_gest_cntl_finalize | ( | void | ) |
References FLA_Blocksize_free(), and FLA_Cntl_obj_free().
Referenced by FLA_Cntl_finalize_flamec().
| void FLA_Eig_gest_cntl_init | ( | void | ) |
References FLA_Cntl_eig_gest_obj_create(), and FLA_Query_blocksizes().
Referenced by FLA_Cntl_init_flamec().
{
// Set blocksize with default values for conventional storage.
fla_eig_gest_var1_bsize = FLA_Query_blocksizes( FLA_DIMENSION_MIN );
// Create a control tree to invoke the unblocked subproblem (inverse cases).
fla_eig_gest_ix_cntl_leaf = FLA_Cntl_eig_gest_obj_create( FLA_FLAT,
#ifdef FLA_ENABLE_EXTERNAL_LAPACK_FOR_SUBPROBLEMS
FLA_BLOCKED_EXTERN,
#else
FLA_UNB_OPT_VARIANT3,
#endif
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL );
// Create a control tree to invoke the unblocked subproblem (no inverse cases).
fla_eig_gest_nx_cntl_leaf = FLA_Cntl_eig_gest_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,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL );
// Create a control tree for large problems with no extra recursion
// (inverse cases).
fla_eig_gest_ix_cntl = FLA_Cntl_eig_gest_obj_create( FLA_FLAT,
FLA_BLOCKED_VARIANT4,
fla_eig_gest_var1_bsize,
fla_eig_gest_ix_cntl_leaf,
fla_axpy_cntl_blas,
fla_axpy_cntl_blas,
fla_gemm_cntl_blas,
fla_gemm_cntl_blas,
fla_gemm_cntl_blas,
fla_hemm_cntl_blas,
fla_her2k_cntl_blas,
fla_trmm_cntl_blas,
fla_trmm_cntl_blas,
fla_trsm_cntl_blas,
fla_trsm_cntl_blas );
// Create a control tree for large problems with no extra recursion
// (no inverse cases).
fla_eig_gest_nx_cntl = FLA_Cntl_eig_gest_obj_create( FLA_FLAT,
FLA_BLOCKED_VARIANT2,
fla_eig_gest_var1_bsize,
fla_eig_gest_nx_cntl_leaf,
fla_axpy_cntl_blas,
fla_axpy_cntl_blas,
fla_gemm_cntl_blas,
fla_gemm_cntl_blas,
fla_gemm_cntl_blas,
fla_hemm_cntl_blas,
fla_her2k_cntl_blas,
fla_trmm_cntl_blas,
fla_trmm_cntl_blas,
fla_trsm_cntl_blas,
fla_trsm_cntl_blas );
}
Referenced by FLA_Eig_gest_internal(), and FLA_Eig_gest_task().
Referenced by FLA_Eig_gest_internal(), and FLA_Eig_gest_task().
1.7.6.1